From 00fed00bf8dedc2799b0206066b0140592899c90 Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Wed, 27 Jun 2018 19:12:55 +0200 Subject: [PATCH] Events: Allow unblocking of addresses if the are part of the ignore list. Fixes #11247 Signed-off-by: Stefan Schantl --- modules/Events.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/Events.pm b/modules/Events.pm index 007ad46..2892786 100644 --- a/modules/Events.pm +++ b/modules/Events.pm @@ -137,8 +137,8 @@ sub CheckAction ($$) { return; } - # Check if address should be ignored. - if(&_IsOnIgnoreList($bin_address)) { + # Check if the given command is not "unblock" and the address should be ignored. + if(($command ne "unblock") && (&_IsOnIgnoreList($bin_address))) { # Log message. $logger->Log("info", "Ignoring event for $address, because it is part of the ignore list."); return; -- 2.39.2