Subject: | [PATCH] Fixed the reconnect and shutdown code |
Bot::BasicBot currently has its own reconnect code from way back, before
POE::Component::IRC had the Connector plugin. I removed the old code and
loaded the Connector plugin instead, as well as fixing up the shutdown
code (currently there's no way to shut down the bot, it will constantly
try to reconnect).
I added a bot method called "quit" to quit from IRC and shut down
gracefully. If you have a policy against naming methods after
POE::Component::IRC events (so that those are still accessible via
AUTOLOAD), you might want to rename it.
http://github.com/hinrik/Bot-BasicBot/compare/aadca7c3f6...0ed4920410