# HG changeset patch # User Kim Alvefur # Date 1523316772 -7200 # Node ID 5dc8f509496cdac6a8d5f35a672ba111f0f6c639 # Parent 5fb525eb72a2f06b903ffb62a1da2ac92acc3352 mod_register_limits: Promote log message about inability to apply black/whitelists to a warning diff -r 5fb525eb72a2 -r 5dc8f509496c plugins/mod_register_limits.lua --- a/plugins/mod_register_limits.lua Tue Apr 10 01:31:37 2018 +0200 +++ b/plugins/mod_register_limits.lua Tue Apr 10 01:32:52 2018 +0200 @@ -59,7 +59,7 @@ local ip = event.ip or session and session.ip; local log = session and session.log or module._log; if not ip then - log("debug", "IP not known; can't apply blacklist/whitelist"); + log("warn", "IP not known; can't apply blacklist/whitelist"); elseif ip_in_set(blacklisted_ips, ip) then log("debug", "Registration disallowed by blacklist"); event.allowed = false;