diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-12-17 13:23:01 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-12-17 13:23:01 +0000 |
commit | de79d047af80dc7b7310ef987e9c193f26a2167a (patch) | |
tree | 185a0b4492b0375acaccd414df6108792691cac4 | |
parent | e4dcba964787f0939071e357ec9c10a980ad56e6 (diff) | |
download | prosody-de79d047af80dc7b7310ef987e9c193f26a2167a.tar.gz prosody-de79d047af80dc7b7310ef987e9c193f26a2167a.zip |
util.pubsub: Add service:get_nodes()
-rw-r--r-- | util/pubsub.lua | 4 |
1 files changed, 4 insertions, 0 deletions
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; |