aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-04-10 01:31:37 +0200
committerKim Alvefur <zash@zash.se>2018-04-10 01:31:37 +0200
commitad345e0718e193a7310bc140a2874f07f6ad62de (patch)
tree996340d525c900b97a61fef4d629732c46dc9cbd /plugins
parent284dc8ac80d6b59d1e9f5a9180fc8a98e3b974e8 (diff)
downloadprosody-ad345e0718e193a7310bc140a2874f07f6ad62de.tar.gz
prosody-ad345e0718e193a7310bc140a2874f07f6ad62de.zip
mod_register_limits: Change debug message wording, there's no user yet
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_register_limits.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_register_limits.lua b/plugins/mod_register_limits.lua
index bb4ee6f2..1a7e2672 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", "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;