Diff

plugins/mod_limits.lua @ 9943:46773fe2be45

mod_limits: Fix typo
author Kim Alvefur <zash@zash.se>
date Tue, 02 Apr 2019 21:22:20 +0200
parent 9942:b0d5f4ae92b7
child 10099:7e3196e0263e
line wrap: on
line diff
--- a/plugins/mod_limits.lua	Tue Apr 02 20:38:51 2019 +0200
+++ b/plugins/mod_limits.lua	Tue Apr 02 21:22:20 2019 +0200
@@ -100,7 +100,7 @@
 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("^[^_]+");