From b65abfdc1a5cd6efa1c1625a4255925ceac96248 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 4 Nov 2007 16:33:54 +0000 Subject: Another git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8504 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_cgiirc.cpp | 5 ++--- 1 file 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 ¶meter) -- cgit v1.2.3