remove ANSI escape codes from auth/worldserver error-output since it doesn't work on MS-based OS'es *sighs*

--HG--
branch : trunk
This commit is contained in:
click
2010-07-29 17:15:03 +02:00
parent 9f2b225c89
commit b118ab2356
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -165,8 +165,8 @@ extern int main(int argc, char **argv)
if (!sConfig.SetSource(cfg_file))
{
sLog.outError("\x1b[31mInvalid or missing configuration file :\x1b[0m %s", cfg_file);
sLog.outError("\x1b[31mVerify that the file exists and has \'\x1b[0m[authserver]\x1b[31m\' written in the top of the file!\x1b[0m");
sLog.outError("Invalid or missing configuration file : %s", cfg_file);
sLog.outError("Verify that the file exists and has \'[authserver]\' written in the top of the file!");
return 1;
}
sLog.Initialize();
+2 -2
View File
@@ -133,8 +133,8 @@ extern int main(int argc, char **argv)
if (!sConfig.SetSource(cfg_file))
{
sLog.outError("\x1b[31mInvalid or missing configuration file :\x1b[0m %s", cfg_file);
sLog.outError("\x1b[31mVerify that the file exists and has \'\x1b[0m[worldserver]\x1b[31m\' written in the top of the file!\x1b[0m");
sLog.outError("Invalid or missing configuration file : %s", cfg_file);
sLog.outError("Verify that the file exists and has \'[worldserver]' written in the top of the file!");
return 1;
}
sLog.outString("Using configuration file %s.", cfg_file);