Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 55036
Status: resolved
Priority: 0/
Queue: POE-Component-IRC-Plugin-BaseWrap

People
Owner: Nobody in particular
Requestors: hinrik.sig [...] gmail.com
Cc:
AdminCc:

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



Subject: Plugins shouldn't send irc_* events from their own POE session
This module as well as BasePoCoWrap and all your IRC plugins which haven't yet been been modified to use either of those are calling $irc->_send_event(). They shouldn't do that. This is causing your plugins to send events (e.g. irc_google_calculator) from their own POE session instead of the IRC component's session. This means that event handlers won't be able to get the IRC component's object via $_[SENDER]->get_heap(). Use send_event() instead of _send_event().
Changed _send_event() to send_event() in 0.009. As far as I understand, this solves the problem. New version just go shipped to CPAN.