Skip Menu |

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

Report information
The Basics
Id: 15075
Status: resolved
Worked: 30 min
Priority: 0/
Queue: POE-Component-IRC

Owner: BINGOS [...]
Requestors: stoeff [...]

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

Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
MIME-Version: 1.0
X-Mailer: MIME-tools 5.417 (Entity 5.417)
Subject: Error in sub _dcc_failed function
X-RT-Original-Encoding: iso-8859-1
Content-Length: 842
Download (untitled) / with headers
text/plain 842b
if I make an dcc chat request to any user and i dont get any response (I guess within the dcc timeout time) the the IRCLIB dies in the _dcc_failed function I think there is a little check missing for checking the existence of the variables before they can be accessed. ... ........ elsif ($errnum == 0 and $self->{dcc}->{$id}->{type} eq "CHAT") { $self->_send_event( 'irc_dcc_done', $id, @{$self->{dcc}->{$id}}{ qw(nick type port file size done listenport clientaddr) } ); close $self->{dcc}->{$id}->{fh}; ##ERROR: fh doesnt exist put programm continues delete $self->{wheelmap}->{$self->{dcc}->{$id}->{wheel}->ID}; ##ERROR wheelmap doesnt exist and programm dies delete $self->{dcc}->{$id}->{wheel}; delete $self->{dcc}->{$id}; } so well i added just an existence check for those vars and it works now.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to