aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-01-01 19:53:45 +0100
committerKim Alvefur <zash@zash.se>2016-01-01 19:53:45 +0100
commit9119466510c4ecdd67a43a74427f24f249436229 (patch)
treea27b878976deb3d7d8afbddc5f9aa6d59d8ad5cd
parentb50935a87c03246fac1541b275da4464a5b63b3b (diff)
downloadprosody-9119466510c4ecdd67a43a74427f24f249436229.tar.gz
prosody-9119466510c4ecdd67a43a74427f24f249436229.zip
mod_register: Fix typo
-rw-r--r--plugins/mod_register.lua2
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