util/pubsub.lua
changeset 5628 ba5c2f6b799e
parent 5320 518d864b2ab8
child 5675 e29ece65e3b0
--- 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];
 					};