From 27e0df3719ce1d6153f8f332d23631044b3c9a79 Mon Sep 17 00:00:00 2001 From: w00t Date: Mon, 16 Feb 2009 22:14:36 +0000 Subject: Remove redundant PriorityState, enum Priority does the exact same thing. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11121 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_cloaking.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_cloaking.cpp') diff --git a/src/modules/m_cloaking.cpp b/src/modules/m_cloaking.cpp index 31f9eea5d..7eb2abd17 100644 --- a/src/modules/m_cloaking.cpp +++ b/src/modules/m_cloaking.cpp @@ -332,11 +332,11 @@ class ModuleCloaking : public Module void Prioritize() { /* Needs to be after m_banexception etc. */ - ServerInstance->Modules->SetPriority(this, I_OnCheckBan, PRIO_LAST); + ServerInstance->Modules->SetPriority(this, I_OnCheckBan, PRIORITY_LAST); /* but before m_conn_umodes, so host is generated ready to apply */ Module *um = ServerInstance->Modules->Find("m_conn_umodes.so"); - ServerInstance->Modules->SetPriority(this, I_OnUserConnect, PRIO_AFTER, &um); + ServerInstance->Modules->SetPriority(this, I_OnUserConnect, PRIORITY_AFTER, &um); } virtual void OnUserDisconnect(User* user) -- cgit v1.2.3