X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=plugins%2Fmod_register.lua;h=fda717f723cdb7be53abdc0a314de9b0a63dd487;hb=refs%2Fheads%2Fmaster;hp=e4b4bd51e0679a642cf70511adefceb34cf3f182;hpb=ea83efae5b3356534f19799f67e97f6f4555adf9;p=prosody.git diff --git a/plugins/mod_register.lua b/plugins/mod_register.lua index e4b4bd51..fda717f7 100644 --- a/plugins/mod_register.lua +++ b/plugins/mod_register.lua @@ -187,7 +187,7 @@ local throttle_cache = new_cache(throttle_cache_size, blacklist_overflow and fun module:log("info", "Adding ip %s to registration blacklist", ip); blacklisted_ips[ip] = true; end -end); +end or nil); local function check_throttle(ip) if not throttle_max then return true end