From 226ccbf56d185b7ae7b17ace03038cb64a21918e Mon Sep 17 00:00:00 2001 From: psychon Date: Sat, 30 May 2009 20:18:29 +0000 Subject: [PATCH] Fix a small bug from r1531 git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1533 726aef4b-f618-498e-8847-2d620e286838 --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index 441566ea..81c86bda 100644 --- a/main.cpp +++ b/main.cpp @@ -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");