mirror of
https://github.com/1bardesign/batteries.git
synced 2024-11-21 21:54:35 +00:00
fixes spelling mistake in has_subscriber
This commit is contained in:
parent
2d0abbd021
commit
4f14e1c3f1
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user