diff --git a/source/backends/irc.rb b/source/backends/irc.rb index a22061a..27992b1 100644 --- a/source/backends/irc.rb +++ b/source/backends/irc.rb @@ -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