diff options
author | Kim Alvefur <zash@zash.se> | 2022-07-11 19:07:38 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2022-07-11 19:07:38 +0200 |
commit | 5251c9b686fc7885c1213cc2580d66ebda2dda9b (patch) | |
tree | 96f83b3f1c7bcbefa7d7ed15800a52812a136f54 /plugins/mod_pep_simple.lua | |
parent | d055a704d84e5a0ddbd0e31c7a8e19ef75a49952 (diff) | |
download | prosody-5251c9b686fc7885c1213cc2580d66ebda2dda9b.tar.gz prosody-5251c9b686fc7885c1213cc2580d66ebda2dda9b.zip |
compat: Remove handling of Lua 5.1 location of 'unpack' function
Diffstat (limited to 'plugins/mod_pep_simple.lua')
-rw-r--r-- | plugins/mod_pep_simple.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_pep_simple.lua b/plugins/mod_pep_simple.lua index e686b99b..1314aece 100644 --- a/plugins/mod_pep_simple.lua +++ b/plugins/mod_pep_simple.lua @@ -14,7 +14,7 @@ local is_contact_subscribed = require "core.rostermanager".is_contact_subscribed local pairs = pairs; local next = next; local type = type; -local unpack = table.unpack or unpack; -- luacheck: ignore 113 +local unpack = table.unpack; local calculate_hash = require "util.caps".calculate_hash; local core_post_stanza = prosody.core_post_stanza; local bare_sessions = prosody.bare_sessions; |