]> git.mxchange.org Git - fba.git/blobdiff - fba/helpers/processing.py
Continued:
[fba.git] / fba / helpers / processing.py
index 5e0b832f24cae310544cd5d1bc50f9218b6627b7..5a96ac9bf22b9476ccc9764203670e3d1346e520 100644 (file)
@@ -205,7 +205,7 @@ def csv_block(blocker: str, url: str, command: str):
         elif domain.endswith(".onion"):
             logger.debug("domain='%s' is a TOR .onion domain - SKIPPED", domain)
             continue
-        elif domain.endswith(".i2p") and config.get("allow_i2p_domain") == "true":
+        elif domain.endswith(".i2p") and not config.get("allow_i2p_domain") == "true":
             logger.debug("domain='%s' is an I2P .onion domain - SKIPPED", domain)
             continue
         elif domain.endswith(".arpa"):