]> git.mxchange.org Git - fba.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Tue, 27 Jun 2023 02:44:15 +0000 (04:44 +0200)
committerRoland Häder <roland@mxchange.org>
Tue, 27 Jun 2023 02:44:15 +0000 (04:44 +0200)
- 'blocked' is the deobfuscated one, ops

fba/commands.py

index 9334cfbc7cb8db673087c1e4a780b840cfaccaff..acb410c108fae9cc97fc2209787a5cb89f95d094 100644 (file)
@@ -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"],
                     })