# HG changeset patch # User Kim Alvefur # Date 1451687473 -3600 # Node ID 22f36a3d636919dbfe4e65d9b5ca78b9b314d5c5 # Parent f26debcae34e47a3bb2915b8784584190ace6646# Parent 5d52e4ee2ae1c03754029c9b5e8ef2b94ed708f3 Merge 0.10->trunk diff -r f26debcae34e -r 22f36a3d6369 plugins/mod_register.lua --- a/plugins/mod_register.lua Sun Dec 27 12:29:28 2015 +0100 +++ b/plugins/mod_register.lua Fri Jan 01 23:31:13 2016 +0100 @@ -180,7 +180,7 @@ 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