From faf240106907782dd3771af30eaf08dbc0b9af45 Mon Sep 17 00:00:00 2001 From: jesopo Date: Sat, 16 Feb 2019 15:53:14 +0000 Subject: 'received.numeric.###' -> 'received.###' throughout project --- modules/line_handler.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'modules/line_handler.py') 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): -- cgit v1.3.1-10-gc9f91