From 8d2978e161e3a435bf3985835f4581effe7d3648 Mon Sep 17 00:00:00 2001 From: jesopo Date: Mon, 1 Jul 2019 19:54:00 +0100 Subject: [PATCH] Remove PRIORITY values for NOTICE events - i dont think we need them --- modules/format_activity.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/format_activity.py b/modules/format_activity.py index 5f0283e2..4dc042b3 100644 --- a/modules/format_activity.py +++ b/modules/format_activity.py @@ -54,13 +54,13 @@ class Module(ModuleManager.BaseModule): self._event("notice.private", event["server"], line, None, parsed_line=event["line"]) - @utils.hook("received.notice.channel", priority=EventManager.PRIORITY_HIGH) + @utils.hook("received.notice.channel") def channel_notice(self, event): self._channel_notice(event, event["user"].nickname, event["channel"]) @utils.hook("send.notice.channel") def self_notice_channel(self, event): self._channel_notice(event, event["server"].nickname, event["channel"]) - @utils.hook("received.notice.private", priority=EventManager.PRIORITY_HIGH) + @utils.hook("received.notice.private") def private_notice(self, event): self._private_notice(event, event["user"].nickname, event["server"].nickname) @@ -112,7 +112,7 @@ class Module(ModuleManager.BaseModule): def self_nick(self, event): self._on_nick(event, event["server"].get_user(event["server"].nickname)) - @utils.hook("received.server-notice", priority=EventManager.PRIORITY_HIGH) + @utils.hook("received.server-notice") def server_notice(self, event): line = "(server notice) %s" % event["message"] self._event("server-notice", event["server"], line, None)