aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-04-02 21:22:20 +0200
committerKim Alvefur <zash@zash.se>2019-04-02 21:22:20 +0200
commite632119ffa88909b7f3be5b59e47373204e75aa8 (patch)
tree3594a8e20b263b12ced923abd9a256de8467c561
parent1b534392de5c8430ee88417c5f6fff8acce1da62 (diff)
downloadprosody-e632119ffa88909b7f3be5b59e47373204e75aa8.tar.gz
prosody-e632119ffa88909b7f3be5b59e47373204e75aa8.zip
mod_limits: Fix typo
-rw-r--r--plugins/mod_limits.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_limits.lua b/plugins/mod_limits.lua
index 56e3faaf..7ae8bb34 100644
--- a/plugins/mod_limits.lua
+++ b/plugins/mod_limits.lua
@@ -100,7 +100,7 @@ end
function module.add_host(module)
local unlimited_jids = module:get_option_inherited_set("unlimited_jids", {});
- if not unlimited_jids:empy() then
+ if not unlimited_jids:empty() then
module:hook("authentication-success", function (event)
local session = event.session;
local session_type = session.type:match("^[^_]+");