aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2013-05-26 16:01:09 +0200
committerKim Alvefur <zash@zash.se>2013-05-26 16:01:09 +0200
commit5616824d0afb39fdbc02597537747c756b91fbe0 (patch)
tree7fa6d4fdc646fd10787f7e084781e0eeb2b434fb /util
parente8218c7b3471b2219d99fe4841dd98c371bdac5c (diff)
downloadprosody-5616824d0afb39fdbc02597537747c756b91fbe0.tar.gz
prosody-5616824d0afb39fdbc02597537747c756b91fbe0.zip
util.pubsub: Fix get_subscriptions to not pass a boolean as node name (thanks jonas)
Diffstat (limited to 'util')
-rw-r--r--util/pubsub.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/pubsub.lua b/util/pubsub.lua
index e7fc86b1..1ecbdfa8 100644
--- a/util/pubsub.lua
+++ b/util/pubsub.lua
@@ -350,7 +350,7 @@ function service:get_subscriptions(node, actor, jid)
if node then -- Return only subscriptions to this node
if subscribed_nodes[node] then
ret[#ret+1] = {
- node = subscribed_nodes[node];
+ node = node;
jid = jid;
subscription = node_obj.subscribers[jid];
};