diff options
author | Adam <Adam@anope.org> | 2014-10-14 18:58:55 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2014-10-14 18:58:55 -0400 |
commit | 0cd3bfa24fccea79a5055bcd12d6aa607ecc635e (patch) | |
tree | 55f039e3344f842ab1fb76d0ed50e7f2454ce895 /src/module.cpp | |
parent | e46bcff32467deef0d83790a1587cc5d6d442337 (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 'src/module.cpp')
-rw-r--r-- | src/module.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/module.cpp b/src/module.cpp index d57538e59..96fa24f6f 100644 --- a/src/module.cpp +++ b/src/module.cpp @@ -101,6 +101,10 @@ void Module::SetAuthor(const Anope::string &nauthor) this->author = nauthor; } +void Module::Prioritize() +{ +} + ModuleVersion::ModuleVersion(int maj, int min, int pa) : version_major(maj), version_minor(min), version_patch(pa) { } |