summaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2016-03-22 14:40:01 +0100
committerAttila Molnar <attilamolnar@hush.com>2016-03-22 14:40:01 +0100
commit571714e28b26cc59cbc8d27098a5ba981240ee2d (patch)
tree97f55560dbacc45e7c76d9027fdf146e3a970f3a /make
parent4f8697d0ce29097583b417b676c73d31349b056f (diff)
parent8aced446613e3d68a0c1666edcc0e8817ae2f812 (diff)
Merge pull request #1157 from SaberUK/insp20+fix-cron-restart
[2.0] Fix 'cron' and 'restart' in the helper not forwarding arguments.
Diffstat (limited to 'make')
-rw-r--r--make/template/inspircd4
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()