瀏覽代碼

Bugfix for global blocks in LTA monitor.

pull/10/merge
Ben Kurtovic 8 年之前
父節點
當前提交
ecf44a5107
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. +1
    -0
      commands/lta_monitor.py

+ 1
- 0
commands/lta_monitor.py 查看文件

@@ -92,6 +92,7 @@ class LTAMonitor(Command):
block["type"] = "IP-"
if not lblocks:
block["type"] = "globally " + block["type"]
block["user"] = block["address"]

if re.search(r"web[ _-]?host", block["reason"], re.IGNORECASE):
block["note"] = "webhost warning"


Loading…
取消
儲存