From 5bc85206baf1c248b28a19e6d60e18157d255a3b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 27 Jun 2023 04:44:15 +0200 Subject: [PATCH] Continued: - 'blocked' is the deobfuscated one, ops --- fba/commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fba/commands.py b/fba/commands.py index 9334cfb..acb410c 100644 --- a/fba/commands.py +++ b/fba/commands.py @@ -1176,10 +1176,10 @@ def recheck_obfuscation(args: argparse.Namespace) -> int: block["block_level"] = "suspended" logger.info("blocked='%s' has been deobfuscated to blocked='%s', adding ...", block["blocked"], blocked) - if utils.process_block(row[0], block["blocked"], block["reason"], block["block_level"]) and block["block_level"] == "reject" and config.get("bot_enabled"): + if utils.process_block(row[0], blocked, block["reason"], block["block_level"]) and block["block_level"] == "reject" and config.get("bot_enabled"): logger.debug("Appending blocked='%s',reason='%s' for blocker='%s' ...", block["blocked"], block["block_level"], row[0]) blockdict.append({ - "blocked": block["blocked"], + "blocked": blocked, "reason" : block["reason"], }) -- 2.39.5