Software /
code /
prosody
Comparison
plugins/mod_pubsub/pubsub.lib.lua @ 12589:39ae08180c81
compat: Remove handling of Lua 5.1 location of 'unpack' function
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 11 Jul 2022 19:07:38 +0200 |
parent | 12021:376522fb3f52 |
child | 12636:e8934ce6ea0f |
comparison
equal
deleted
inserted
replaced
12588:b15d3cf98ba6 | 12589:39ae08180c81 |
---|---|
1 local t_unpack = table.unpack or unpack; -- luacheck: ignore 113 | 1 local t_unpack = table.unpack; |
2 local time_now = os.time; | 2 local time_now = os.time; |
3 | 3 |
4 local jid_prep = require "util.jid".prep; | 4 local jid_prep = require "util.jid".prep; |
5 local set = require "util.set"; | 5 local set = require "util.set"; |
6 local st = require "util.stanza"; | 6 local st = require "util.stanza"; |