aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-07-10 02:28:24 +0100
committerMatthew Wild <mwild1@gmail.com>2009-07-10 02:28:24 +0100
commit7b1d24c0b49803ae64604a345f14912fdcd3af50 (patch)
treec2a9ec893d9b9f5d53053797a25bea7346d18e6d /util
parent1127f01f91f96f17ad983be39fb7c41c0a0addcd (diff)
downloadprosody-7b1d24c0b49803ae64604a345f14912fdcd3af50.tar.gz
prosody-7b1d24c0b49803ae64604a345f14912fdcd3af50.zip
util.pubsub: Fix undefined global accesses
Diffstat (limited to 'util')
-rw-r--r--util/pubsub.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/pubsub.lua b/util/pubsub.lua
index c1e35e3c..9cb5c7ec 100644
--- a/util/pubsub.lua
+++ b/util/pubsub.lua
@@ -49,7 +49,7 @@ function add_subscriber(node, jid)
end
end
-function remove_subscriber(node, subscriber)
+function remove_subscriber(node, jid)
local subscribers = node.subscribers;
if subscribers[jid] then
subscribers[subscribers[jid]] = nil;