Merge remote-tracking branch 'origin/master'

This commit is contained in:
Max Cahill 2024-01-02 12:35:19 +11:00
commit 73f9555002

View File

@ -125,7 +125,7 @@ function pubsub:unsubscribe(event, callback)
end end
--check if there is a subscriber for a given event --check if there is a subscriber for a given event
function pubsub:has_subcriber(event) function pubsub:has_subscriber(event)
return self.subscriptions[event] ~= nil return self.subscriptions[event] ~= nil
end end