summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2014-10-14 18:58:55 -0400
committerAdam <Adam@anope.org>2014-10-14 18:58:55 -0400
commit0cd3bfa24fccea79a5055bcd12d6aa607ecc635e (patch)
tree55f039e3344f842ab1fb76d0ed50e7f2454ce895 /include
parente46bcff32467deef0d83790a1587cc5d6d442337 (diff)
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.
Diffstat (limited to 'include')
-rw-r--r--include/modules.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/modules.h b/include/modules.h
index d3d0f64cc..0569fd33f 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -285,6 +285,8 @@ class CoreExport Module : public Extensible
*/
ModuleVersion GetVersion() const;
+ virtual void Prioritize();
+
/* Everything below here are events. Modules must ModuleManager::Attach to these events
* before they will be called.
*/