Software /
code /
prosody
Changeset
1519:2c9a650ff1b7
util.pubsub: Fix undefined global accesses
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 10 Jul 2009 02:28:24 +0100 |
parents | 1518:9707dfa80980 |
children | 1520:218075f1daf4 |
files | util/pubsub.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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;