summaryrefslogtreecommitdiff
path: root/make/template/inspircd
diff options
context:
space:
mode:
Diffstat (limited to 'make/template/inspircd')
-rw-r--r--make/template/inspircd4
1 files changed, 2 insertions, 2 deletions
diff --git a/make/template/inspircd b/make/template/inspircd
index 138de29a9..cb2d2902d 100644
--- a/make/template/inspircd
+++ b/make/template/inspircd
@@ -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()