diff options
| author | 2019-02-16 15:53:14 +0000 | |
|---|---|---|
| committer | 2019-02-16 15:53:14 +0000 | |
| commit | faf240106907782dd3771af30eaf08dbc0b9af45 (patch) | |
| tree | ee028ee382c8c025350f1a2b7439c266ddd1ee66 /modules/line_handler.py | |
| parent | Keep a track of channels we're in, in case we RESUME and need to get channel (diff) | |
| signature | ||
'received.numeric.###' -> 'received.###' throughout project
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): |
