summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_cgiirc.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/modules/m_cgiirc.cpp b/src/modules/m_cgiirc.cpp
index 74802da88..67f328166 100644
--- a/src/modules/m_cgiirc.cpp
+++ b/src/modules/m_cgiirc.cpp
@@ -140,10 +140,9 @@ public:
List[I_OnRehash] = List[I_OnUserRegister] = List[I_OnCleanup] = List[I_OnSyncUserMetaData] = List[I_OnDecodeMetaData] = List[I_OnUserQuit] = List[I_OnUserConnect] = 1;
}
- virtual Priority Prioritize()
+ virtual void Prioritize()
{
- // We want to get here before m_cloaking and m_hostchange etc
- return PRIORITY_FIRST;
+ ServerInstance->Modules->SetPriority(this, I_OnUserConnect, PRIO_FIRST);
}
virtual void OnRehash(User* user, const std::string &parameter)