X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=plugins%2Fmod_register.lua;h=e4b4bd51e0679a642cf70511adefceb34cf3f182;hb=3c561ed7ab90acb90ea8cec61d912586b91fe56b;hp=1961b27654743b65d4eedb48a10b7cc43663e9cf;hpb=9b53917789f122e1aa8a8dc2eb62c3c5fbd49267;p=prosody.git 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