plugins/mod_limits.lua
changeset 9947 46773fe2be45
parent 9946 b0d5f4ae92b7
child 10103 7e3196e0263e
--- 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("^[^_]+");