diff options
-rw-r--r-- | include/modules/exemption.h | 4 | ||||
-rw-r--r-- | 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) |