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