From d7c9583c8ec819444efdb326d15b2ff92a881089 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 2 Mar 2006 18:29:39 +0000 Subject: Removed sleep() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3437 e03df62e-2008-0410-955e-edbf42e46eb7 --- .inspircd.inc | 2 -- 1 file changed, 2 deletions(-) diff --git a/.inspircd.inc b/.inspircd.inc index f25a3a179..8b4aad32a 100644 --- a/.inspircd.inc +++ b/.inspircd.inc @@ -84,7 +84,6 @@ sub start { if (getstatus() == 1) { print "InspIRCd is already running.\n"; return 0; } # If we are still alive here.. Try starting the IRCd.. system("$binpath/$executable"); - sleep 2; return 1; } @@ -102,7 +101,6 @@ sub stop { my $pid = getprocessid(); print "Stopping InspIRCd...\n"; system("kill -TERM $pid >/dev/null 2>&1"); - sleep 2; if (getstatus() == 1) { print "InspIRCd not dying Quietly -- Forcing Kill\n"; -- cgit v1.2.3