Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: sebastian [...] core.ws
Cc:
AdminCc:

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



Subject: POE::Component::IRC::Plugin::Logger does not log if the channels name includes a slash
According to rfc1459 a slash is a valid character of a channels name. The current version of POE::Component::IRC::Plugin::Logger, which is 6.05_01, does not log any actions if the channels name includes a slash. In my opinion slashes should be replaces by underscores. The attached patch should fix this issue.
Subject: Logger.pm.patch
--- Logger.pm.orig 2009-04-29 16:19:02.000000000 +0200 +++ Logger.pm 2009-04-29 16:20:18.000000000 +0200 @@ -375,7 +375,9 @@ } return if !defined $self->{Format}->{$type}; - + + $context =~ s!/!_!g; + my $log_file; if ($self->{Sort_by_date}) { my $log_dir = catdir($self->{Path}, $context);