diff options
author | Attila Molnar <attilamolnar@hush.com> | 2015-06-03 18:00:04 +0200 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2015-06-03 18:00:04 +0200 |
commit | 0d4facc30a36a69a40a0168b2c0eb978b6494ad4 (patch) | |
tree | 3b7034edc8ef1ea6f4da4b2e813299b9a16695fc /src/modules/m_callerid.cpp | |
parent | 6b2438f548aa8b2b2c26b94a8f782a11e87370be (diff) |
m_callerid Prioritize after other mods for the OnUserPreMessage hook
Issue #1051
Diffstat (limited to 'src/modules/m_callerid.cpp')
-rw-r--r-- | src/modules/m_callerid.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/modules/m_callerid.cpp b/src/modules/m_callerid.cpp index 5c6d14a90..26b9d0da2 100644 --- a/src/modules/m_callerid.cpp +++ b/src/modules/m_callerid.cpp @@ -426,6 +426,12 @@ public: tracknick = tag->getBool("tracknick"); notify_cooldown = tag->getInt("cooldown", 60); } + + void Prioritize() CXX11_OVERRIDE + { + // Want to be after modules like silence or services_account + ServerInstance->Modules->SetPriority(this, I_OnUserPreMessage, PRIORITY_LAST); + } }; MODULE_INIT(ModuleCallerID) |