From 76ab7935a04489017b6bb242593989621f1cfc30 Mon Sep 17 00:00:00 2001 From: jesopo Date: Wed, 3 Jul 2019 08:13:28 +0100 Subject: return parsed modes from IRCChannel.parse_modes, pass through mode events --- modules/line_handler/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/line_handler/__init__.py') diff --git a/modules/line_handler/__init__.py b/modules/line_handler/__init__.py index fed529e9..2b9891af 100644 --- a/modules/line_handler/__init__.py +++ b/modules/line_handler/__init__.py @@ -226,9 +226,9 @@ class Module(ModuleManager.BaseModule): core.handle_354(event) # response to an empty mode command - @utils.hook("raw.received.324", default_event=True) + @utils.hook("raw.received.324") def handle_324(self, event): - channel.handle_324(event) + channel.handle_324(self.events, event) # channel creation unix timestamp @utils.hook("raw.received.329", default_event=True) -- cgit v1.3.1-10-gc9f91