mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
util.pubsub: Fix undefined global accesses
This commit is contained in:
parent
1127f01f91
commit
7b1d24c0b4
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue