ruby 2.0.0: better fix for the ThreadError apoc/ruby20-fix
authorMatthias H <apoc@sixserv.org>
Wed, 18 Sep 2013 01:18:13 +0000 (03:18 +0200)
committerMatthias H <apoc@sixserv.org>
Wed, 18 Sep 2013 01:18:13 +0000 (03:18 +0200)
commitd7e71ce963271d7b95a205028b112779c08d3e12
treeb9e3e8da772b51368b8a1e7f7641fcad22b466bb
parent1fd7747e21441924af4abda243e8af59ee36af68
ruby 2.0.0: better fix for the ThreadError

I revisited my fix for the ThreadError in ruby 2.0.0
this doesn't use a queue for signals but just starts a
thread for each received signal, works much better for me.

It also fixes a bug in Bot#reconnect where the SystemExit
exception coming from quit is not handled correctly.
lib/rbot/ircbot.rb