# HG changeset patch # User Kim Alvefur # Date 1540153278 -7200 # Node ID b30455212f89f4d8c37cb1d2b87f2c99243f12be # Parent 07665733b332978a228d76a503094313e0ebc384 util.pubsub: Clarify comment about return value diff -r 07665733b332 -r b30455212f89 util/pubsub.lua --- a/util/pubsub.lua Sat Oct 20 20:23:23 2018 +0200 +++ b/util/pubsub.lua Sun Oct 21 22:21:18 2018 +0200 @@ -762,7 +762,7 @@ return true; end -function service:get_node_config(node, actor) --> ok, err +function service:get_node_config(node, actor) --> (true, config) or (false, err) if not self:may(node, actor, "get_configuration") then return false, "forbidden"; end