Skip Menu |

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

Report information
The Basics
Id: 16563
Status: rejected
Priority: 0/
Queue: Net-IRC

Owner: Nobody in particular
Requestors: ntyni [...]

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


Subject: Can't locate object method "handler"
Download (untitled) / with headers
text/plain 790b
Hi, this bug was originally reported as Debian bug #303400, Quoting: I do a dcc chat request with a: $conn->new_chat(1,'knotty'); When knotty accept the dcc chat, I get a: (in cleanup) Can't locate object method "handler" via package "Net::IRC::DCC::CHAT" at /usr/share/perl5/Net/IRC/ line 149. I have verified this in Net::IRC 0.75, Perl 5.8.4 and Perl 5.8.7. It seems to happen because NET::IRC::DCC::CHAT::new() calls Net::IRC::DCC::Accept->new() with itself as the 'container' argument, leading to the _parent property in the Accept object being the CHAT object. When the Accept object is destroyed, the DESTROY method tries to call 'handler()' through its parent, the CHAT object. Simple patch attached. Cheers, -- Niko Tyni
Download netirc-patch
application/octet-stream 669b

Message body not shown because it is not plain text.

This module is long dead

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

Please report any issues with to