X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=make%2Ftemplate%2Finspircd;h=cb2d2902d520eca9752a7cf0da4b4f4004c9a2c4;hb=b9e11915a976daaf790ebc763aff56e19fd49e0f;hp=138de29a9cfdb4ef6eb060bff65fe11bbfca4007;hpb=8320bcc9df1ea89a47257c9f9c70aa6d476beaa8;p=user%2Fhenk%2Fcode%2Finspircd.git 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()