From dba2cddc463082ca028617df93e6726253e0866f Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Thu, 24 Jan 2019 18:03:12 +0000 Subject: Fix overriding with the exemptchanops mode. Closes #1558. --- include/modules/exemption.h | 4 ++-- src/coremods/core_channel/core_channel.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/modules/exemption.h b/include/modules/exemption.h index b590a5797..a33d67f98 100644 --- a/include/modules/exemption.h +++ b/include/modules/exemption.h @@ -41,8 +41,8 @@ class CheckExemption::EventListener : public Events::ModuleEventListener { protected: - EventListener(Module* mod) - : ModuleEventListener(mod, "event/exemption") + EventListener(Module* mod, unsigned int eventprio = DefaultPriority) + : ModuleEventListener(mod, "event/exemption", eventprio) { } diff --git a/src/coremods/core_channel/core_channel.cpp b/src/coremods/core_channel/core_channel.cpp index bf51bd4b2..b3319cba1 100644 --- a/src/coremods/core_channel/core_channel.cpp +++ b/src/coremods/core_channel/core_channel.cpp @@ -122,7 +122,7 @@ class CoreModChannel : public Module, public CheckExemption::EventListener public: CoreModChannel() - : CheckExemption::EventListener(this) + : CheckExemption::EventListener(this, UINT_MAX) , invapi(this) , cmdinvite(this, invapi) , cmdjoin(this) -- cgit v1.2.3