Fix a small bug from r1531

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1533 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2009-05-30 20:18:29 +00:00
parent 901af25984
commit 226ccbf56d
+1 -1
View File
@@ -280,7 +280,7 @@ int main(int argc, char** argv) {
args[pos++] = strdup("--debug");
else if (bForeground)
args[pos++] = strdup("--foreground");
if (CUtils::StdoutIsTTY())
if (!CUtils::StdoutIsTTY())
args[pos++] = strdup("--no-color");
if (bAllowRoot)
args[pos++] = strdup("--allow-root");