aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2018-08-18 13:23:52 +0100
committerMatthew Wild <mwild1@gmail.com>2018-08-18 13:23:52 +0100
commit619798a8d969ef11a06d6f99622533a1e924c9eb (patch)
treeca1dee1fa75e6f2cfba68d587385d1fabfe6b338
parent6ba3049a78124d983a23668419af4c1b2ee97e96 (diff)
downloadprosody-619798a8d969ef11a06d6f99622533a1e924c9eb.tar.gz
prosody-619798a8d969ef11a06d6f99622533a1e924c9eb.zip
util.pubsub: Add comment to clarify return values
-rw-r--r--util/pubsub.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/pubsub.lua b/util/pubsub.lua
index be3f0e7c..f9ae0998 100644
--- a/util/pubsub.lua
+++ b/util/pubsub.lua
@@ -582,6 +582,7 @@ function service:get_last_item(node, actor)
return false, "forbidden";
end
--
+ -- Returns success, id, item
return true, self.data[node]:tail();
end