mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 21:57:45 +03:00
mod_register_limits: Change debug message wording, there's no user yet
This commit is contained in:
parent
6ce8da708c
commit
8b04ec15b0
1 changed files with 1 additions and 1 deletions
|
@ -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", "User's IP not known; can't apply blacklist/whitelist");
|
||||
log("debug", "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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue