Changeset

9195:b6ffd4f951b9

util.pubsub: Add comment to clarify return values
author Matthew Wild <mwild1@gmail.com>
date Sat, 18 Aug 2018 13:23:52 +0100
parents 9194:11a0b32fef24
children 9196:2fc56434c6e3
files util/pubsub.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/util/pubsub.lua	Sat Aug 18 14:06:23 2018 +0200
+++ b/util/pubsub.lua	Sat Aug 18 13:23:52 2018 +0100
@@ -582,6 +582,7 @@
 		return false, "forbidden";
 	end
 	--
+	-- Returns success, id, item
 	return true, self.data[node]:tail();
 end