Software /
code /
prosody
Comparison
plugins/mod_pep_plus.lua @ 9030:7d0b7e086c6a
mod_pep_plus: Include an empty set of subscribers (fixes traceback)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 13 Jul 2018 03:27:04 +0200 |
parent | 9029:c5e738b54d77 |
child | 9061:82dd435c942c |
comparison
equal
deleted
inserted
replaced
9029:c5e738b54d77 | 9030:7d0b7e086c6a |
---|---|
67 -- TODO Save explicit subscriptions maybe? | 67 -- TODO Save explicit subscriptions maybe? |
68 data = { | 68 data = { |
69 name = data.name; | 69 name = data.name; |
70 config = data.config; | 70 config = data.config; |
71 affiliations = data.affiliations; | 71 affiliations = data.affiliations; |
72 subscribers = {}; | |
72 }; | 73 }; |
73 end | 74 end |
74 return node_config:set(username, node, data); | 75 return node_config:set(username, node, data); |
75 end | 76 end |
76 function store:users() | 77 function store:users() |