summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-05-23 20:19:16 +0200
committerattilamolnar <attilamolnar@hush.com>2013-05-23 20:19:16 +0200
commit4801080b51674b2c766e27d04e6459ef65dc6a47 (patch)
treef86aea88b47df7b8ec6c99dce2d1bfa406b65e3c
parent7e990d1af81414b6b5147f561155d5919e1dd7ea (diff)
m_nicklock Fix wrong hook in SetPriority()
-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 abeb25869..4f5e5941c 100644
--- a/src/modules/m_nicklock.cpp
+++ b/src/modules/m_nicklock.cpp
@@ -187,7 +187,7 @@ class ModuleNickLock : public Module
void Prioritize()
{
Module *nflood = ServerInstance->Modules->Find("m_nickflood.so");
- ServerInstance->Modules->SetPriority(this, I_OnUserPreJoin, PRIORITY_BEFORE, &nflood);
+ ServerInstance->Modules->SetPriority(this, I_OnUserPreNick, PRIORITY_BEFORE, &nflood);
}
};