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

People
Owner: Nobody in particular
Requestors: ntyni [...] iki.fi
Cc:
AdminCc:

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

Attachments


Subject: Can't locate object method "handler"
Hi, this bug was originally reported as Debian bug #303400, http://bugs.debian.org/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/DCC.pm 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 ntyni@iki.fi
Download netirc-patch
application/octet-stream 669b

Message body not shown because it is not plain text.

This module is long dead