Skip Menu |

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

Report information
The Basics
Id: 43745
Status: new
Priority: 0/
Queue: Net-CyanChat

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

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



Subject: Private Messages are not sent properly
The function to send Private Messages expects a name in a certain format, but then uses a different format, which results in errors. The function should be edited as follows (which appears to work as long as the correct name is passed as <level><nickname>). sub sendPrivate { my ($self,$to,$msg) = @_; # Remove newline characters. $to =~ s/[\x0d\x0a]//ig; $msg =~ s/[\x0d\x0a]//ig; return undef unless (length $to > 0 && length $msg > 0); $self->send ("20|$to|^1$msg"); return 1; }