From: Stefan Schantl Date: Wed, 3 Feb 2016 08:33:50 +0000 (+0100) Subject: Add reload handler to Events module. X-Git-Tag: 2.0~35 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7121d8cdb77ebae6f775890a6a38c0ffe448b0bf;p=people%2Fstevee%2Fguardian.git Add reload handler to Events module. This allows to call a Reload by sending the corresponding command via socket. Signed-off-by: Stefan Schantl --- diff --git a/modules/Events.pm b/modules/Events.pm index cfc785f..b70bbb5 100644 --- a/modules/Events.pm +++ b/modules/Events.pm @@ -12,6 +12,7 @@ my %commands = ( 'block' => \&CallBlock, 'unblock' => \&CallUnblock, 'flush' => \&CallFlush, + 'reload' => \&main::Reload, ); # Hash to store addresses and their current count.