Make entry autoban opt-in, bound PPTX unpacking, unify skin DB path, prune deploy examples
This commit is contained in:
@@ -250,7 +250,8 @@ class EntryTelemetry:
|
||||
if ban_uids:
|
||||
try:
|
||||
import entry_autoban
|
||||
entry_autoban.ban_cluster(ban_uids, reason="entry_ip_collision")
|
||||
if entry_autoban.enabled(): # opt-in; otherwise the alert above is the only effect
|
||||
entry_autoban.ban_cluster(ban_uids, reason="entry_ip_collision")
|
||||
except Exception:
|
||||
log.exception("entry autoban failed")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user