1
0
mirror of https://github.com/anope/anope.git synced 2026-06-25 02:06:37 +02:00

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.
This commit is contained in:
Adam
2014-10-14 18:58:55 -04:00
parent e46bcff324
commit 0cd3bfa24f
7 changed files with 19 additions and 7 deletions
+3
View File
@@ -1258,7 +1258,10 @@ class ProtoUnreal : public Module
{
this->AddModes();
}
void Prioritize() anope_override
{
ModuleManager::SetPriority(this, PRIORITY_FIRST);
}