Opened 3 years ago

#287 new defect

mIRC color-stripping code strips too much

Reported by: jgross@mit.edu Owned by:
Priority: major Milestone:
Component: IRC Keywords: IRC straightforward
Cc:

Description

Colored numbers are stripped from IRC messages. mIRC color codes use at most two numbers. So

$body =~ s/\cC\d+(?:,\d+)?//g;

in perl/modules/IRC/lib/BarnOwl/Module/IRC/Connection.pm should be

$body =~ s/\cC\d\d?(?:,\d\d?)?//g;

or something similar.

Change History (0)

Note: See TracTickets for help on using tickets.