diff options
-rw-r--r-- | util/pubsub.lua | 2 |
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; |