aboutsummaryrefslogtreecommitdiff
path: root/modules/line_handler/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/line_handler/__init__.py')
-rw-r--r--modules/line_handler/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/line_handler/__init__.py b/modules/line_handler/__init__.py
index fb77ec36..fed529e9 100644
--- a/modules/line_handler/__init__.py
+++ b/modules/line_handler/__init__.py
@@ -7,7 +7,7 @@ class Module(ModuleManager.BaseModule):
hooks = self.events.on("raw.received").on(line.command).get_hooks()
default_events = []
for hook in hooks:
- default_events.append(hook.kwargs.get("default_event", False))
+ default_events.append(hook.get_kwarg("default_event", False))
kwargs = {"server": server, "line": line,
"direction": utils.Direction.Recv}