From 8aced446613e3d68a0c1666edcc0e8817ae2f812 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Sat, 19 Mar 2016 20:00:37 +0000 Subject: Fix 'cron' and 'restart' in the helper not forwarding arguments. --- make/template/inspircd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'make/template') 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() -- cgit v1.2.3