Software /
code /
prosody
Diff
plugins/mod_pep_simple.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 | 10555:f73947a9bd8c |
child | 12977:74b9e05af71e |
line wrap: on
line diff
--- a/plugins/mod_pep_simple.lua Mon Jul 11 17:32:13 2022 +0200 +++ b/plugins/mod_pep_simple.lua Mon Jul 11 19:07:38 2022 +0200 @@ -14,7 +14,7 @@ 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;