mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-11 11:39:02 -04:00
Merge pull request #1157 from SaberUK/insp20+fix-cron-restart
[2.0] Fix 'cron' and 'restart' in the helper not forwarding arguments.
This commit is contained in:
commit
571714e28b
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user