Remove some useless tags from a non-tty output.

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1437 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
silverleo
2009-03-22 14:41:04 +00:00
parent 27a51fcec7
commit 766d775f43

View File

@@ -275,7 +275,7 @@ void CUtils::PrintError(const CString& sMessage) {
if (stdoutIsTTY)
fprintf(stdout, "\033[1m\033[34m[\033[31m ** \033[34m]\033[39m\033[22m %s\n", sMessage.c_str());
else
fprintf(stdout, "[ ** ] %s\n", sMessage.c_str());
fprintf(stdout, "%s\n", sMessage.c_str());
fflush(stdout);
}
@@ -335,7 +335,7 @@ void CUtils::PrintStatus(bool bSuccess, const CString& sMessage) {
fprintf(stdout, "[ %s ]", sMessage.c_str());
}
fprintf(stdout, "\n[ !! ]\n");
fprintf(stdout, "\n");
}
}