summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-02-19 00:15:57 +0100
committerAttila Molnar <attilamolnar@hush.com>2014-02-19 00:15:57 +0100
commita85188c02bbcb37c0aae5048173a43e052e4eb7d (patch)
tree859d9dfa9ccda1e9130747cc620d6ee06b2e6a31 /src/inspircd.cpp
parentd3d8375e232de4615b49f654b7e2d20c955eee6d (diff)
parent7fec670c9b378f5c8470204ba36a284a424a11c7 (diff)
Merge pull request #772 from SaberUK/insp20+llvm34
Fix various problems detected by Clang 3.4.
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index b201e38c6..766aeaf8e 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -476,7 +476,7 @@ InspIRCd::InspIRCd(int argc, char** argv) :
/* Set the finished argument values */
Config->cmdline.nofork = (do_nofork != 0);
Config->cmdline.forcedebug = (do_debug != 0);
- Config->cmdline.writelog = (!do_nolog != 0);
+ Config->cmdline.writelog = !do_nolog;
Config->cmdline.TestSuite = (do_testsuite != 0);
if (do_debug)