aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-12-17 13:23:01 +0000
committerMatthew Wild <mwild1@gmail.com>2010-12-17 13:23:01 +0000
commitde79d047af80dc7b7310ef987e9c193f26a2167a (patch)
tree185a0b4492b0375acaccd414df6108792691cac4
parente4dcba964787f0939071e357ec9c10a980ad56e6 (diff)
downloadprosody-de79d047af80dc7b7310ef987e9c193f26a2167a.tar.gz
prosody-de79d047af80dc7b7310ef987e9c193f26a2167a.zip
util.pubsub: Add service:get_nodes()
-rw-r--r--util/pubsub.lua4
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;