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
commit8b04ec15b0b05e8883211e51e9320a69b0f2f91a (patch)
tree996340d525c900b97a61fef4d629732c46dc9cbd /plugins
parent6ce8da708c8ccb67e83eb87373eef25c39e8da9e (diff)
downloadprosody-8b04ec15b0b05e8883211e51e9320a69b0f2f91a.tar.gz
prosody-8b04ec15b0b05e8883211e51e9320a69b0f2f91a.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;