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
vault/0.11
Kim Alvefur 8 years ago
parent 9bc2a2e2ff
commit 60b3cc3a00
  1. 1
      plugins/mod_pep.lua

@ -44,6 +44,7 @@ function check_node_config(node, actor, new_config) -- luacheck: ignore 212/node
if (new_config["max_items"] or 1) > max_max_items then
return false;
end
return true;
end
local function subscription_presence(username, recipient)

Loading…
Cancel
Save