aboutsummaryrefslogtreecommitdiff
path: root/EventManager.py
diff options
context:
space:
mode:
authorGravatar jesopo2018-08-29 15:51:51 +0100
committerGravatar jesopo2018-08-29 15:51:51 +0100
commit745141cb6da3e17bc1f5ee6d95d7418754ea5e29 (patch)
tree81cd75486d8fc8e944ab8a4b1247b0a8ead3e91a /EventManager.py
parentReport actual topic setter (use 333, not 332) (diff)
signature
Give EventHooks their event name .lower()
Diffstat (limited to 'EventManager.py')
-rw-r--r--EventManager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/EventManager.py b/EventManager.py
index c4504358..abb0a454 100644
--- a/EventManager.py
+++ b/EventManager.py
@@ -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])