]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - make/template/inspircd
Fix 'cron' and 'restart' in the helper not forwarding arguments.
[user/henk/code/inspircd.git] / make / template / inspircd
index 7cd83a8e15fdd0615e020592e102277f5117a9f6..b43ad60c9ecbb67981cf36258dc765964c36b860 100644 (file)
@@ -135,7 +135,7 @@ sub cmd_rehash()
 
 sub cmd_cron()
 {
-       if (getstatus() == 0) { goto &cmd_start(); }
+       if (getstatus() == 0) { goto &cmd_start(@_); }
        exit();
 }
 
@@ -149,7 +149,7 @@ sub cmd_restart(@)
 {
        cmd_stop();
        unlink($pidfile) if (-e $pidfile);
-       goto &cmd_start;
+       goto &cmd_start(@_);
 }
 
 sub hid_cheese_sandwich()