summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-16 18:46:59 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-16 18:46:59 +0000
commit1667f43351b4f4a6dc1b7a96d3a68352feba2cdb (patch)
tree3d83316662f785e3debfc00194ad15466213ff7b /src
parent5c3dd954465e8e3db3ac44183d230e1b77f78134 (diff)
Fix to warning line 218
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3723 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/inspircd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index aed513737..e7dfeb9c2 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -215,7 +215,7 @@ InspIRCd::InspIRCd(int argc, char** argv)
SetSignals();
if (!Config->nofork)
{
- if (DaemonSeed() == ERROR)
+ if (!DaemonSeed())
{
printf("ERROR: could not go into daemon mode. Shutting down.\n");
Exit(ERROR);