Skip Menu |

This queue is for tickets about the POE-Component-IRC CPAN distribution.

Report information
The Basics
Id: 80179
Status: open
Priority: 0/
Queue: POE-Component-IRC

People
Owner: Nobody in particular
Requestors: andy [...] strugglers.net
Cc:
AdminCc:

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



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
Are you doing this on FreeNode? Be aware that on FreeNode, your quit message will always be "Remote host closed the connection" if you have only been online for a short time.
Subject: Re: [rt.cpan.org #80179] Successfully issuing a quit message
Date: Mon, 15 Oct 2012 17:31:48 +0000
To: Hinrik Orn Sigurdsson via RT <bug-POE-Component-IRC [...] rt.cpan.org>
From: Andy Smith <andy [...] strugglers.net>
Hi Hinrik, On Mon, Oct 15, 2012 at 01:20:30PM -0400, Hinrik Orn Sigurdsson via RT wrote: Show quoted text
> Are you doing this on FreeNode? Be aware that on FreeNode, your quit > message will always be "Remote host closed the connection" if you have > only been online for a short time.
What an infuriating measure! I am not doing this on freenode, but I am doing it on a network whose ircd has recently been changed to Charybdis. I have no idea if this ircd does the same thing, and it's new enough to me that I hadn't even considered it. It is certainly possible as I have been killing the bot very quickly. I shall check. Thank you for the idea. I shall be most embarrassed if this proves to be the case! Cheers, Andy
Subject: Re: [rt.cpan.org #80179] Successfully issuing a quit message
Date: Mon, 15 Oct 2012 17:49:06 +0000
To: Hinrik Orn Sigurdsson via RT <bug-POE-Component-IRC [...] rt.cpan.org>
From: Andy Smith <andy [...] strugglers.net>
Hi Hinrik, On Mon, Oct 15, 2012 at 01:20:30PM -0400, Hinrik Orn Sigurdsson via RT wrote: Show quoted text
> Are you doing this on FreeNode? Be aware that on FreeNode, your quit > message will always be "Remote host closed the connection" if you have > only been online for a short time.
It appears you are correct: https://github.com/atheme/charybdis/blob/master/modules/core/m_quit.c#L75 So sorry for the noise! Cheers, Andy