]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - make/template/inspircd
Merge insp20
[user/henk/code/inspircd.git] / make / template / inspircd
index 138de29a9cfdb4ef6eb060bff65fe11bbfca4007..cb2d2902d520eca9752a7cf0da4b4f4004c9a2c4 100644 (file)
@@ -153,7 +153,7 @@ sub cmd_rehash()
 
 sub cmd_cron()
 {
-       if (getstatus() == 0) { goto &cmd_start(); }
+       if (getstatus() == 0) { goto &cmd_start(@_); }
        exit GENERIC_EXIT_UNSPECIFIED;
 }
 
@@ -167,7 +167,7 @@ sub cmd_restart(@)
 {
        cmd_stop();
        unlink($pidfile) if (-e $pidfile);
-       goto &cmd_start;
+       goto &cmd_start(@_);
 }
 
 sub hid_cheese_sandwich()