Subject: | Successfully issuing a quit message |
Date: | Sun, 14 Oct 2012 16:56:21 +0000 |
To: | bug-POE-Component-IRC [...] rt.cpan.org |
From: | Andy Smith <andy [...] strugglers.net> |
Hi,
I'm finding it impossible to get POE::Component::IRC to let me
specify a quit message. Whatever I do it just either quits with no
message or else says "Remote host closed the connection".
I found:
http://search.cpan.org/~bingos/POE-Component-IRC-6.79/lib/POE/Component/IRC/Cookbook/Disconnecting.pod
but I'm already using shutdown to no avail.
I also found sample code from Hinrik in:
http://stackoverflow.com/questions/2471373/how-do-i-correctly-shutdown-a-botbasicbot-bot-based-on-poecomponentirc
but this code behaves exactly how I am seeing also.
Is this a bug in POE::Component::IRC?
If you need a small script that demonstrates the problem, you could
use the script that Hinrik provided there as it does not quit with a
message when you ctrl-c it.
I'm using:
$ dpkg -l | grep POE
ii libpoe-component-irc-perl 6.78+dfsg-1 all POE Component for manipulating IRC sessions
on Debian 6.0.
Cheers,
Andy