From bfc1abbcad598fcbc6921fa72b950144b13e059f Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Sun, 15 Feb 2015 17:56:01 +0100 Subject: Convert mods calling the old compat wrapper of ModuleManager::SetPriority() to use the current method, remove wrapper --- src/modules/m_nicklock.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_nicklock.cpp') diff --git a/src/modules/m_nicklock.cpp b/src/modules/m_nicklock.cpp index 8ac2e8b47..a99628bf1 100644 --- a/src/modules/m_nicklock.cpp +++ b/src/modules/m_nicklock.cpp @@ -168,7 +168,7 @@ class ModuleNickLock : public Module void Prioritize() { Module *nflood = ServerInstance->Modules->Find("m_nickflood.so"); - ServerInstance->Modules->SetPriority(this, I_OnUserPreNick, PRIORITY_BEFORE, &nflood); + ServerInstance->Modules->SetPriority(this, I_OnUserPreNick, PRIORITY_BEFORE, nflood); } }; -- cgit v1.3.1-10-gc9f91