use SSL on IRC backend
parent
b4b98879bc
commit
8970810891
|
@ -107,14 +107,16 @@ module Backend_IRC
|
||||||
|
|
||||||
@real = Cinch::Bot.new do
|
@real = Cinch::Bot.new do
|
||||||
configure do |cfg|
|
configure do |cfg|
|
||||||
cfg.server = info[:server]
|
cfg.server = info[:server]
|
||||||
cfg.nick = info[:nick] || "vrobot4"
|
cfg.nick = info[:nick] || "vrobot4"
|
||||||
cfg.port = info[:port] if info.key? :port
|
cfg.port = info[:port] if info.key? :port
|
||||||
cfg.password = info[:pass] if info.key? :pass
|
cfg.password = info[:pass] if info.key? :pass
|
||||||
cfg.modes = info[:modes] if info.key? :modes
|
cfg.modes = info[:modes] if info.key? :modes
|
||||||
cfg.channels = info[:channels] if info.key? :channels
|
cfg.channels = info[:channels] if info.key? :channels
|
||||||
cfg.realname = "vrobot4"
|
cfg.ssl = true
|
||||||
cfg.user = "vrobot4"
|
cfg.ssl.verify = true
|
||||||
|
cfg.realname = "vrobot4"
|
||||||
|
cfg.user = "vrobot4"
|
||||||
cfg.message_split_start = "… "
|
cfg.message_split_start = "… "
|
||||||
cfg.message_split_end = " …"
|
cfg.message_split_end = " …"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue