From ad345e0718e193a7310bc140a2874f07f6ad62de Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Tue, 10 Apr 2018 01:31:37 +0200 Subject: mod_register_limits: Change debug message wording, there's no user yet --- plugins/mod_register_limits.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3