diff options
author | Kim Alvefur <zash@zash.se> | 2018-04-10 01:32:52 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-04-10 01:32:52 +0200 |
commit | 693a06e2f3094f51f11fd0fe1ee50d230be1cba6 (patch) | |
tree | 91569a5b63e83f501defae1d763590cc645ef387 | |
parent | 8b04ec15b0b05e8883211e51e9320a69b0f2f91a (diff) | |
download | prosody-693a06e2f3094f51f11fd0fe1ee50d230be1cba6.tar.gz prosody-693a06e2f3094f51f11fd0fe1ee50d230be1cba6.zip |
mod_register_limits: Promote log message about inability to apply black/whitelists to a warning
-rw-r--r-- | plugins/mod_register_limits.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_register_limits.lua b/plugins/mod_register_limits.lua index 1a7e2672..736282a5 100644 --- a/plugins/mod_register_limits.lua +++ b/plugins/mod_register_limits.lua @@ -59,7 +59,7 @@ module:hook("user-registering", function (event) 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; |