mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
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:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user