aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_pep_plus.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-07-13 03:27:04 +0200
committerKim Alvefur <zash@zash.se>2018-07-13 03:27:04 +0200
commitbde3269ec238f498bd21c2e190676bfc077c8afb (patch)
treee202827102714735052d70ba4ff50a5d1ede4e55 /plugins/mod_pep_plus.lua
parent0d53da8ffe62c93e134b9b2200edc69c7b110904 (diff)
downloadprosody-bde3269ec238f498bd21c2e190676bfc077c8afb.tar.gz
prosody-bde3269ec238f498bd21c2e190676bfc077c8afb.zip
mod_pep_plus: Include an empty set of subscribers (fixes traceback)
Diffstat (limited to 'plugins/mod_pep_plus.lua')
-rw-r--r--plugins/mod_pep_plus.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_pep_plus.lua b/plugins/mod_pep_plus.lua
index 7955edb9..cccabf6f 100644
--- a/plugins/mod_pep_plus.lua
+++ b/plugins/mod_pep_plus.lua
@@ -69,6 +69,7 @@ local function nodestore(username)
name = data.name;
config = data.config;
affiliations = data.affiliations;
+ subscribers = {};
};
end
return node_config:set(username, node, data);