Give EventHooks their event name .lower()
This commit is contained in:
parent
669aa32c31
commit
745141cb6d
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,7 @@ class EventHook(object):
|
|||
child_name_lower = child_name.lower()
|
||||
if not child_name_lower in self._children:
|
||||
self._children[child_name_lower] = EventHook(self.bot,
|
||||
child_name, self)
|
||||
child_name_lower, self)
|
||||
if self._child_notify:
|
||||
self._child_notify(self, self._children[
|
||||
child_name_lower])
|
||||
|
|
Loading…
Reference in a new issue