aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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])