Software / code / prosody
Diff
plugins/mod_register.lua @ 7037:5d52e4ee2ae1
mod_register: Fix typo
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Fri, 01 Jan 2016 19:53:45 +0100 |
| parent | 7027:77d838ba91c6 |
| child | 7293:c4af754d1e1b |
line wrap: on
line diff
--- a/plugins/mod_register.lua Thu Dec 24 10:39:13 2015 +0100 +++ b/plugins/mod_register.lua Fri Jan 01 19:53:45 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