You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 13, 2019. It is now read-only.
require 'cinch'
bot = Cinch::Bot.new do
configure do |c|
c.nick = "IgorBot"
c.server = "irc.freenode.org"
c.channels = ["#mybotchannel"]
end
# quit
on :message, "!quit" do |m|
bot.quit
end
end
bot.start
and sending the !quit command, I receive following error:
/home/igor/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/thread.rb:185:in sleep': deadlock detected (fatal) from /home/igor/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/thread.rb:185:inblock in pop'
from internal:prelude:10:in synchronize' from /home/igor/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/thread.rb:180:inpop'
from /home/igor/.rvm/gems/ruby-1.9.2-p0/gems/cinch-1.0.2/lib/cinch/message_queue.rb:52:in process!' from /home/igor/.rvm/gems/ruby-1.9.2-p0/gems/cinch-1.0.2/lib/cinch/irc.rb:58:inconnect'
from /home/igor/.rvm/gems/ruby-1.9.2-p0/gems/cinch-1.0.2/lib/cinch/bot.rb:404:in start' from mybot.rb:12:in
'
The text was updated successfully, but these errors were encountered:
I am able to reproduce this here and already have a solution in mind. The bug, however, has low priority right now, mostly because it doesn't affect the actual running of the bot.
It will be fixed in the next patch or minor release, though.
When running the following code
and sending the !quit command, I receive following error:
The text was updated successfully, but these errors were encountered: