From f58d3968868889973e32cff3fb3bc47ef7686a39 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sun, 21 Oct 2018 22:21:18 +0200 Subject: util.pubsub: Clarify comment about return value --- util/pubsub.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/pubsub.lua b/util/pubsub.lua index 45a5aab6..fafae50a 100644 --- a/util/pubsub.lua +++ b/util/pubsub.lua @@ -762,7 +762,7 @@ function service:set_node_config(node, actor, new_config) --> ok, err 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 -- cgit v1.2.3