From 25b81845a554af8d300d71a25adcda1b086d6c71 Mon Sep 17 00:00:00 2001 From: div0 Date: Sun, 27 Apr 2008 18:43:42 +0000 Subject: [PATCH] fix minor bug in rcon.pl regarding escape sequences (\e[m getting output even in "no translation" mode) git-svn-id: svn://svn.icculus.org/nexuiz/trunk@3597 f962a42d-fe04-0410-a3ab-8c8b0445ebaa --- Docs/server/rcon.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Docs/server/rcon.pl b/Docs/server/rcon.pl index e078ea2ce..d9a05924d 100755 --- a/Docs/server/rcon.pl +++ b/Docs/server/rcon.pl @@ -391,8 +391,8 @@ if($timeout) { for($rcon->recv()) { - $_ = color_dp2ansi $_ unless $colors; - print "$_\033[m\n" + $_ = (color_dp2ansi $_) . "\033[m" unless $colors; + print "$_\n" } } } -- 2.39.2