mod_pep_plus: Include an empty set of subscribers (fixes traceback)
authorKim Alvefur <zash@zash.se>
Fri, 13 Jul 2018 03:27:04 +0200
changeset 9033 7d0b7e086c6a
parent 9032 c5e738b54d77
child 9034 d1a4b1b78695
mod_pep_plus: Include an empty set of subscribers (fixes traceback)
plugins/mod_pep_plus.lua
--- a/plugins/mod_pep_plus.lua	Fri Jul 13 01:14:31 2018 +0200
+++ b/plugins/mod_pep_plus.lua	Fri Jul 13 03:27:04 2018 +0200
@@ -69,6 +69,7 @@
 				name = data.name;
 				config = data.config;
 				affiliations = data.affiliations;
+				subscribers = {};
 			};
 		end
 		return node_config:set(username, node, data);