summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-03-05 23:55:31 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-03-05 23:55:31 +0000
commit3c8c936a59120f963197f26eb30723589476073d (patch)
treefeaabb593b455794fd5c47264d70dac81fc74b92 /src
parent5a4bbe741a64e57924ca711694afe2aff67cfe56 (diff)
Set m_cgiirc to run its OnUserConnect before m_conn_umodes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12597 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_cgiirc.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/m_cgiirc.cpp b/src/modules/m_cgiirc.cpp
index 3b3c44d39..d4e376296 100644
--- a/src/modules/m_cgiirc.cpp
+++ b/src/modules/m_cgiirc.cpp
@@ -178,6 +178,8 @@ public:
void Prioritize()
{
ServerInstance->Modules->SetPriority(this, I_OnUserConnect, PRIORITY_FIRST);
+ Module* umodes = ServerInstance->Modules->Find("m_conn_umodes.cpp");
+ ServerInstance->Modules->SetPriority(this, I_OnUserConnect, PRIORITY_BEFORE, &umodes);
}
void OnRehash(User* user)