# HG changeset patch # User Matthew Wild # Date 1292592181 0 # Node ID 1f7305784e122c4d2a284a434326a4524e90a4c3 # Parent 41f174b61b6a81f5862328026441fdd99c5f8177 util.pubsub: Add service:get_nodes() diff -r 41f174b61b6a -r 1f7305784e12 util/pubsub.lua --- a/util/pubsub.lua Fri Dec 17 12:44:24 2010 +0000 +++ b/util/pubsub.lua Fri Dec 17 13:23:01 2010 +0000 @@ -77,4 +77,8 @@ end end +function service:get_nodes(actor) + return true, self.nodes; +end + return _M;