diff options
| author | 2006-03-16 18:46:59 +0000 | |
|---|---|---|
| committer | 2006-03-16 18:46:59 +0000 | |
| commit | 1667f43351b4f4a6dc1b7a96d3a68352feba2cdb (patch) | |
| tree | 3d83316662f785e3debfc00194ad15466213ff7b /src/inspircd.cpp | |
| parent | Catch std::bad_alloc program wide (to catch out nazi sysadmins who restrict m... (diff) | |
| download | inspircd++-1667f43351b4f4a6dc1b7a96d3a68352feba2cdb.tar.gz inspircd++-1667f43351b4f4a6dc1b7a96d3a68352feba2cdb.tar.bz2 inspircd++-1667f43351b4f4a6dc1b7a96d3a68352feba2cdb.zip | |
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/inspircd.cpp')
| -rw-r--r-- | src/inspircd.cpp | 2 |
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); |
