]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Removed sleep()
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Thu, 2 Mar 2006 18:29:39 +0000 (18:29 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Thu, 2 Mar 2006 18:29:39 +0000 (18:29 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3437 e03df62e-2008-0410-955e-edbf42e46eb7

.inspircd.inc

index f25a3a179eb7806b8a1044c9ccde6e46ccc99ad0..8b4aad32a7901a3e655b5b94445400af5ee25951 100644 (file)
@@ -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";