aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_pep_simple.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-07-08 02:44:32 +0200
committerKim Alvefur <zash@zash.se>2019-07-08 02:44:32 +0200
commitf1406ebe53dd38003cd1fd3121946ae4924de03c (patch)
tree6b13265c066c8c32f4ed5d44fc9ca8421d118d06 /plugins/mod_pep_simple.lua
parent5399b9b9057f8202ceb25e933d10e1825383bc99 (diff)
parent37fc8f2a2fdaac95d7aee6e51b88514f3febef31 (diff)
downloadprosody-f1406ebe53dd38003cd1fd3121946ae4924de03c.tar.gz
prosody-f1406ebe53dd38003cd1fd3121946ae4924de03c.zip
Merge 0.11->trunk
Diffstat (limited to 'plugins/mod_pep_simple.lua')
-rw-r--r--plugins/mod_pep_simple.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_pep_simple.lua b/plugins/mod_pep_simple.lua
index f0b5d7ef..f91e5448 100644
--- a/plugins/mod_pep_simple.lua
+++ b/plugins/mod_pep_simple.lua
@@ -14,6 +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 calculate_hash = require "util.caps".calculate_hash;
local core_post_stanza = prosody.core_post_stanza;
local bare_sessions = prosody.bare_sessions;