# HG changeset patch # User Matthew Wild # Date 1247189304 -3600 # Node ID 2c9a650ff1b7dd65fca601ab40ca3909bdebb4bd # Parent 9707dfa80980377bb8418b601db462046bc09b8b util.pubsub: Fix undefined global accesses diff -r 9707dfa80980 -r 2c9a650ff1b7 util/pubsub.lua --- 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;