mod_register_limits: Promote log message about inability to apply black/whitelists to a warning
authorKim Alvefur <zash@zash.se>
Tue, 10 Apr 2018 01:32:52 +0200
changeset 8743 5dc8f509496c
parent 8742 5fb525eb72a2
child 8745 71939a65961e
mod_register_limits: Promote log message about inability to apply black/whitelists to a warning
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;