diff options
author | Kim Alvefur <zash@zash.se> | 2016-03-18 00:08:58 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-03-18 00:08:58 +0100 |
commit | f76d7cdfb91850381b47ec3abfbc280f32136682 (patch) | |
tree | d187e41d01f81f41766abe3c0a730dde7b8c029f /plugins/mod_register.lua | |
parent | a8a26e0472703832c51ded651a1860a26b1baff7 (diff) | |
parent | 4633eb56fbfda4ba0e5d790203282f374c8a8079 (diff) | |
download | prosody-f76d7cdfb91850381b47ec3abfbc280f32136682.tar.gz prosody-f76d7cdfb91850381b47ec3abfbc280f32136682.zip |
Merge 0.10->trunk
Diffstat (limited to 'plugins/mod_register.lua')
-rw-r--r-- | plugins/mod_register.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |