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 | d1ded0b062305d31ae81bc2508f79e9af0a46734 (patch) | |
tree | 91569a5b63e83f501defae1d763590cc645ef387 | |
parent | ad345e0718e193a7310bc140a2874f07f6ad62de (diff) | |
download | prosody-d1ded0b062305d31ae81bc2508f79e9af0a46734.tar.gz prosody-d1ded0b062305d31ae81bc2508f79e9af0a46734.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; |