mod_pep: Return true if all node config checks passes (fixes configuration)
util.pubsub would treat the default nil return as falsy and reject all
attempts to configure nodes
--- a/plugins/mod_pep.lua Fri Aug 03 17:48:41 2018 +0200
+++ b/plugins/mod_pep.lua Fri Aug 03 20:39:18 2018 +0200
@@ -44,6 +44,7 @@
if (new_config["max_items"] or 1) > max_max_items then
return false;
end
+ return true;
end
local function subscription_presence(username, recipient)