From de79d047af80dc7b7310ef987e9c193f26a2167a Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 17 Dec 2010 13:23:01 +0000 Subject: util.pubsub: Add service:get_nodes() --- util/pubsub.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/util/pubsub.lua b/util/pubsub.lua index 02e845e1..811f4a15 100644 --- a/util/pubsub.lua +++ b/util/pubsub.lua @@ -77,4 +77,8 @@ function service:get(node, actor, id) end end +function service:get_nodes(actor) + return true, self.nodes; +end + return _M; -- cgit v1.2.3