]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Fix 'cron' and 'restart' in the helper not forwarding arguments.
authorPeter Powell <petpow@saberuk.com>
Sat, 19 Mar 2016 20:00:37 +0000 (20:00 +0000)
committerPeter Powell <petpow@saberuk.com>
Mon, 21 Mar 2016 17:15:50 +0000 (17:15 +0000)
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()