Skip Menu |

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

Report information
The Basics
Id: 42760
Status: resolved
Worked: 15 min
Priority: 0/
Queue: POE-Component-Server-IRC

People
Owner: BINGOS [...] cpan.org
Requestors: hinrik.sig [...] gmail.com
Cc:
AdminCc:

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



Subject: Wrong numeric sent in response to TIME
Upon receiving a TIME command, the server sends numeric 351 (RPL_VERSION) instead of 391 (RPL_TIME), though the body of the message is correct. Patch follows. --- /usr/local/share/perl/5.10.0/POE/Component/Server/IRC.pm 2008-10-01 11:35:14.000000000 +0000 +++ IRC.pm 2009-01-24 20:22:16.000000000 +0000 @@ -1508,7 +1508,7 @@ $self->{ircd}->send_output( { prefix => $nick, command => 'TIME', params => [ $self->_state_peer_name( $target ) ] }, $self->_state_peer_route( $target ) ); last SWITCH; } - push @{ $ref }, { prefix => $server, command => '351', params => [ $nick, $server, time2str( "%A %B %e %Y -- %T %z", time() ) ] }; + push @{ $ref }, { prefix => $server, command => '391', params => [ $nick, $server, time2str( "%A %B %e %Y -- %T %z", time() ) ] }; } return @{ $ref } if wantarray(); return $ref;
This appears to have been resolved.

Show quoted text
==============================
2009-01-24 22:13:54 +0000 1.36
Show quoted text
==============================

  commit c734e08d40a594eaa562d83a634ddc0f0ca0e5f1
  Author: Chris Williams <chris@bingosnet.co.uk>
  Date:   Sat Jan 24 22:04:19 2009 +0000
 
    Fixed RT#42760 reported by Hinrik

Thanks for the ticket.