diff options
author | Peter Powell <petpow@saberuk.com> | 2016-03-19 20:00:37 +0000 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2016-03-21 17:15:50 +0000 |
commit | 8aced446613e3d68a0c1666edcc0e8817ae2f812 (patch) | |
tree | 97f55560dbacc45e7c76d9027fdf146e3a970f3a /make | |
parent | 4f8697d0ce29097583b417b676c73d31349b056f (diff) |
Fix 'cron' and 'restart' in the helper not forwarding arguments.
Diffstat (limited to 'make')
-rw-r--r-- | make/template/inspircd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/make/template/inspircd b/make/template/inspircd index 7cd83a8e1..b43ad60c9 100644 --- a/make/template/inspircd +++ b/make/template/inspircd @@ -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() |