summaryrefslogtreecommitdiff
path: root/.inspircd.inc
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2009-01-15 19:32:45 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2009-01-15 19:32:45 +0000
commitbf026ad679098a2f0f028679ef64ab53062c44e8 (patch)
tree96a8d8a2db387ba8710c639dc229056eb0099db5 /.inspircd.inc
parent192de56600f9b4dbd7532cf159cb7757c104a1e6 (diff)
Bad check on getstatus() found by Ankit, thanks :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10963 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to '.inspircd.inc')
-rw-r--r--.inspircd.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.inspircd.inc b/.inspircd.inc
index 791017caf..9a0f655ce 100644
--- a/.inspircd.inc
+++ b/.inspircd.inc
@@ -248,7 +248,7 @@ sub cmd_stop()
kill TERM => $pid or die "Cannot terminate IRCd: $!\n";
for (1..$maxwait) {
sleep 1;
- if (getstatus() == 1) {
+ if (getstatus() == 0) {
print "InspIRCd Stopped.\n";
return;
}