[SimBot-commits] CVS: simbot/plugins sqlite-logger.pl,1.54,1.55
Status: Abandoned
Brought to you by:
kstange
|
From: Pete P. <fou...@us...> - 2005-08-11 15:35:23
|
Update of /cvsroot/simbot/simbot/plugins In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22095/plugins Modified Files: sqlite-logger.pl Log Message: Properly remove the color code when we replace it with style tags. Index: sqlite-logger.pl =================================================================== RCS file: /cvsroot/simbot/simbot/plugins/sqlite-logger.pl,v retrieving revision 1.54 retrieving revision 1.55 diff -u -d -p -r1.54 -r1.55 --- sqlite-logger.pl 11 Aug 2005 15:25:29 -0000 1.54 +++ sqlite-logger.pl 11 Aug 2005 15:35:13 -0000 1.55 @@ -967,10 +967,10 @@ sub linkify { if ($2) { $color = $1 if $1; $bgcolor = $3; - $line =~ s/\003$1$2/\003/; + $line =~ s/$1$2//; } elsif ($1) { $color = $1; - $line =~ s/\003$1/\003/; + $line =~ s/$1//; } else { $color = 16; $bgcolor = 16; |