r3597 - trunk/Docs/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Sun Apr 27 14:43:42 EDT 2008
Author: div0
Date: 2008-04-27 14:43:42 -0400 (Sun, 27 Apr 2008)
New Revision: 3597
Modified:
trunk/Docs/server/rcon.pl
Log:
fix minor bug in rcon.pl regarding escape sequences (\e[m getting output even in "no translation" mode)
Modified: trunk/Docs/server/rcon.pl
===================================================================
--- trunk/Docs/server/rcon.pl 2008-04-26 21:15:56 UTC (rev 3596)
+++ trunk/Docs/server/rcon.pl 2008-04-27 18:43:42 UTC (rev 3597)
@@ -391,8 +391,8 @@
{
for($rcon->recv())
{
- $_ = color_dp2ansi $_ unless $colors;
- print "$_\033[m\n"
+ $_ = (color_dp2ansi $_) . "\033[m" unless $colors;
+ print "$_\n"
}
}
}
More information about the nexuiz-commits
mailing list