Browse Source

Bugfix for global blocks in LTA monitor.

pull/10/merge
Ben Kurtovic 9 years ago
parent
commit
ecf44a5107
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      commands/lta_monitor.py

+ 1
- 0
commands/lta_monitor.py View File

@@ -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…
Cancel
Save