diff options
Diffstat (limited to 'bot.rb')
-rw-r--r-- | bot.rb | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ require 'xmpp4r' -require 'xmpp4r/muc/helper/mucclient' +require 'xmpp4r/muc/helper/simplemucclient' require_relative 'sasl' @@ -34,7 +34,7 @@ module Lain @mucs = {} Config::Rooms.each { |r| - muc = Jabber::MUC::MUCClient.new(@cl) + muc = Jabber::MUC::SimpleMUCClient.new(@cl) @mucs[r] = muc muc.add_message_callback { |msg| |