use SSL on IRC backend

master
an 2019-07-17 19:00:54 -04:00
parent b4b98879bc
commit 8970810891
1 changed files with 10 additions and 8 deletions

View File

@ -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