# HG changeset patch # User Kim Alvefur # Date 1369576869 -7200 # Node ID ba5c2f6b799edc1895b456c6991bfb20413f37f0 # Parent 63cfd59999b6764e68d96e56e62feb11161df2b1 util.pubsub: Fix get_subscriptions to not pass a boolean as node name (thanks jonas) diff -r 63cfd59999b6 -r ba5c2f6b799e util/pubsub.lua --- a/util/pubsub.lua Wed May 22 14:32:02 2013 +0100 +++ b/util/pubsub.lua Sun May 26 16:01:09 2013 +0200 @@ -350,7 +350,7 @@ 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]; };