# HG changeset patch # User Kim Alvefur # Date 1533321558 -7200 # Node ID 297a0607417583584348b5f7503da7da5eddbf32 # Parent ce57c69a20e2edc74ef806c54ed2782f47ba5013 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 diff -r ce57c69a20e2 -r 297a06074175 plugins/mod_pep.lua --- 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)