summaryrefslogtreecommitdiff
path: root/src/modules/m_nicklock.cpp
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2009-02-16 22:14:36 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2009-02-16 22:14:36 +0000
commit27e0df3719ce1d6153f8f332d23631044b3c9a79 (patch)
tree5befa8ebb123b05752891bad7d12f35795a04fe2 /src/modules/m_nicklock.cpp
parent3cfd26c7a2ef57e979d0f065ebed01d9bf26aa03 (diff)
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
Diffstat (limited to 'src/modules/m_nicklock.cpp')
-rw-r--r--src/modules/m_nicklock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_nicklock.cpp b/src/modules/m_nicklock.cpp
index a16d651e9..d475d59e0 100644
--- a/src/modules/m_nicklock.cpp
+++ b/src/modules/m_nicklock.cpp
@@ -196,7 +196,7 @@ class ModuleNickLock : public Module
void Prioritize()
{
Module *nflood = ServerInstance->Modules->Find("m_nickflood.so");
- ServerInstance->Modules->SetPriority(this, I_OnUserPreJoin, PRIO_BEFORE, &nflood);
+ ServerInstance->Modules->SetPriority(this, I_OnUserPreJoin, PRIORITY_BEFORE, &nflood);
}
virtual void OnCleanup(int target_type, void* item)