[nexuiz-commits] r7856 - trunk/server/rcon2irc

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Mon Sep 21 08:36:52 EDT 2009


Author: div0
Date: 2009-09-21 08:36:52 -0400 (Mon, 21 Sep 2009)
New Revision: 7856

Modified:
   trunk/server/rcon2irc/rcon2irc.pl
Log:
fix one more place wiht color code


Modified: trunk/server/rcon2irc/rcon2irc.pl
===================================================================
--- trunk/server/rcon2irc/rcon2irc.pl	2009-09-21 12:32:26 UTC (rev 7855)
+++ trunk/server/rcon2irc/rcon2irc.pl	2009-09-21 12:36:52 UTC (rev 7856)
@@ -1538,7 +1538,7 @@
 				my $sep = ' ';
 				for(@t)
 				{
-					$scores_string .= $sep . sprintf "\003%02d\%d\017", $color_team2irc_table{$_->{team}}, $_->{score};
+					$scores_string .= $sep . "\003" . $color_team2irc_table{$_->{team}}. "\002\002" . $_->{score} . "\017";
 					$sep = ':';
 				}
 			}



More information about the nexuiz-commits mailing list