Software /
code /
prosody
Changeset
8740:5dc8f509496c
mod_register_limits: Promote log message about inability to apply black/whitelists to a warning
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 10 Apr 2018 01:32:52 +0200 |
parents | 8739:5fb525eb72a2 |
children | 8742:71939a65961e |
files | plugins/mod_register_limits.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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;