# HG changeset patch # User Kim Alvefur # Date 1554232940 -7200 # Node ID 46773fe2be45260f711608759962e399dea119c5 # Parent b0d5f4ae92b7a819c3f70d4af423d18708c07855 mod_limits: Fix typo diff -r b0d5f4ae92b7 -r 46773fe2be45 plugins/mod_limits.lua --- 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("^[^_]+");