Software / code / prosody
Changeset
9943:46773fe2be45
mod_limits: Fix typo
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Tue, 02 Apr 2019 21:22:20 +0200 |
| parents | 9942:b0d5f4ae92b7 |
| children | 9944:11d39caf0852 |
| files | plugins/mod_limits.lua |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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("^[^_]+");