Skip Menu |

This queue is for tickets about the Bot-BasicBot CPAN distribution.

Report information
The Basics
Id: 59597
Status: resolved
Priority: 0/
Queue: Bot-BasicBot

People
Owner: Nobody in particular
Requestors: hinrik.sig [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: (no value)
Fixed in: (no value)



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
My initial patches didn't take care of killing subprocesses created with forkit(), but I've fixed that now: http://github.com/hinrik/Bot-BasicBot/compare/aadca7c3f6...e341ebbd71
This has been fixed as of version 0.82.