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
commiteff22e5a5068cc632d5ca08b06145b1327306732 (patch)
treec406e59adfb0c07b63347449392d742b78a7f98c
parentf0f0886c0d8438a2245185b1ba63a38593ea3d2a (diff)
downloadprosody-eff22e5a5068cc632d5ca08b06145b1327306732.tar.gz
prosody-eff22e5a5068cc632d5ca08b06145b1327306732.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;