aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_pubsub
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2022-07-11 19:07:38 +0200
committerKim Alvefur <zash@zash.se>2022-07-11 19:07:38 +0200
commit5251c9b686fc7885c1213cc2580d66ebda2dda9b (patch)
tree96f83b3f1c7bcbefa7d7ed15800a52812a136f54 /plugins/mod_pubsub
parentd055a704d84e5a0ddbd0e31c7a8e19ef75a49952 (diff)
downloadprosody-5251c9b686fc7885c1213cc2580d66ebda2dda9b.tar.gz
prosody-5251c9b686fc7885c1213cc2580d66ebda2dda9b.zip
compat: Remove handling of Lua 5.1 location of 'unpack' function
Diffstat (limited to 'plugins/mod_pubsub')
-rw-r--r--plugins/mod_pubsub/pubsub.lib.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_pubsub/pubsub.lib.lua b/plugins/mod_pubsub/pubsub.lib.lua
index 83cef808..661bb65b 100644
--- a/plugins/mod_pubsub/pubsub.lib.lua
+++ b/plugins/mod_pubsub/pubsub.lib.lua
@@ -1,4 +1,4 @@
-local t_unpack = table.unpack or unpack; -- luacheck: ignore 113
+local t_unpack = table.unpack;
local time_now = os.time;
local jid_prep = require "util.jid".prep;