From 0cd3bfa24fccea79a5055bcd12d6aa607ecc635e Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 14 Oct 2014 18:58:55 -0400 Subject: Fix module event prioritization which was broken with the newer auto-attach event stuff. Also remove logically dead code from os_defcon, and make os_defcon akill similar masks to os_session when enforcing session akills. Fixes #1618 which relies on os_session to be prioritized before os_defcon. --- modules/protocol/unreal.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules/protocol/unreal.cpp') diff --git a/modules/protocol/unreal.cpp b/modules/protocol/unreal.cpp index 6f744f22f..40cb1fe70 100644 --- a/modules/protocol/unreal.cpp +++ b/modules/protocol/unreal.cpp @@ -1258,7 +1258,10 @@ class ProtoUnreal : public Module { this->AddModes(); + } + void Prioritize() anope_override + { ModuleManager::SetPriority(this, PRIORITY_FIRST); } -- cgit