fixes spelling mistake in has_subscriber

This commit is contained in:
Bill Hilbert 2023-12-30 01:22:17 -05:00
parent 2d0abbd021
commit 4f14e1c3f1

View File

@ -125,7 +125,7 @@ function pubsub:unsubscribe(event, callback)
end
--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
end