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:
@@ -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();
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user