diff options
-rw-r--r-- | plugins/mod_register_limits.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_register_limits.lua b/plugins/mod_register_limits.lua index 1fb3c05e..1d12f7f2 100644 --- a/plugins/mod_register_limits.lua +++ b/plugins/mod_register_limits.lua @@ -61,6 +61,7 @@ module:hook("user-registering", function (event) if not ip then log("debug", "User's IP not known; can't apply blacklist/whitelist"); elseif ip_in_set(blacklisted_ips, event.ip) or (whitelist_only and not ip_in_set(whitelisted_ips, ip)) then + log("debug", "Registration disallowed by white- or blacklist"); event.allowed = false; elseif throttle_max and not ip_in_set(whitelisted_ips, ip) then if not check_throttle(event.ip) then |