diff options
Diffstat (limited to 'modules/line_handler.py')
| -rw-r--r-- | modules/line_handler.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/modules/line_handler.py b/modules/line_handler.py index c6448066..f8a37103 100644 --- a/modules/line_handler.py +++ b/modules/line_handler.py @@ -33,11 +33,7 @@ class Module(ModuleManager.BaseModule): self.events.on("raw.received").on(line.command).call_unsafe(**kwargs) if default_event or not hooks: - if line.command.isdigit(): - self.events.on("received.numeric").on(line.command).call( - **kwargs) - else: - self.events.on("received").on(line.command).call(**kwargs) + self.events.on("received").on(line.command).call(**kwargs) @utils.hook("raw.received") def handle_raw(self, event): |
