Software /
code /
prosody
Diff
util/pubsub.lua @ 1519:2c9a650ff1b7
util.pubsub: Fix undefined global accesses
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 10 Jul 2009 02:28:24 +0100 |
parent | 849:5049b4512df0 |
child | 1522:569d58d21612 |
line wrap: on
line diff
--- a/util/pubsub.lua Fri Jul 10 02:26:43 2009 +0100 +++ b/util/pubsub.lua Fri Jul 10 02:28:24 2009 +0100 @@ -49,7 +49,7 @@ end end -function remove_subscriber(node, subscriber) +function remove_subscriber(node, jid) local subscribers = node.subscribers; if subscribers[jid] then subscribers[subscribers[jid]] = nil;