Skip Menu |

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

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

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

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



Subject: ARG1 contains part message
According to the doc ARG0 of the on_part event is the hostmask of the parting user, and ARG1 contains the channel name. Unfortunately though if a user parts with a message: eg: * @MrPilot has left #Channel (cycling) ARG1 will contain (as reported by Data::Dumper): $VAR1 = '#Channel :cycling';
Fixed as of version 3.0 In order not to break bots and scripts based on the module the fix has been implemented as an option to "connect". Specify PartFix => 1 to the "connect" method and ARG1 will contain the channel parted from and ARG2 the applicable part message.