diff options
author | Kim Alvefur <zash@zash.se> | 2016-01-01 23:31:13 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-01-01 23:31:13 +0100 |
commit | 93408770ef53ce0056d7a875f79b053f218eb806 (patch) | |
tree | a9ef4016bba631979da88bc38fcbe9bd1d1de574 | |
parent | e1b247f298550899a261e9188784154dec7f4c15 (diff) | |
parent | def9cf77e81a56f1b91b429deebcd98462e929f7 (diff) | |
download | prosody-93408770ef53ce0056d7a875f79b053f218eb806.tar.gz prosody-93408770ef53ce0056d7a875f79b053f218eb806.zip |
Merge 0.10->trunk
-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 1961b276..e4b4bd51 100644 --- a/plugins/mod_register.lua +++ b/plugins/mod_register.lua @@ -180,7 +180,7 @@ local blacklisted_ips = module:get_option_set("registration_blacklist", {})._ite local throttle_max = module:get_option_number("registration_throttle_max", min_seconds_between_registrations and 1); local throttle_period = module:get_option_number("registration_throttle_period", min_seconds_between_registrations); local throttle_cache_size = module:get_option_number("registration_throttle_cache_size", 100); -local blacklist_overflow = module_get_option_boolean("blacklist_on_registration_throttle_overload", false); +local blacklist_overflow = module:get_option_boolean("blacklist_on_registration_throttle_overload", false); local throttle_cache = new_cache(throttle_cache_size, blacklist_overflow and function (ip, throttle) if not throttle:peek() then |