diff options
Diffstat (limited to 'src/modules/m_hostchange.cpp')
-rw-r--r-- | src/modules/m_hostchange.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/modules/m_hostchange.cpp b/src/modules/m_hostchange.cpp index 17c597e71..222d68dca 100644 --- a/src/modules/m_hostchange.cpp +++ b/src/modules/m_hostchange.cpp @@ -52,9 +52,10 @@ class ModuleHostChange : public Module hostchanges.clear(); } - Priority Prioritize() + void Prioritize() { - return (Priority)ServerInstance->Modules->PriorityAfter("m_cloaking.so"); + Module* cloak = ServerInstance->Modules->Find("m_cloaking.so"); + ServerInstance->Modules->SetPriority(this, I_OnUserConnect, PRIO_AFTER, &cloak); } void Implements(char* List) |