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_alias.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_alias.cpp') diff --git a/src/modules/m_alias.cpp b/src/modules/m_alias.cpp index 5b3979179..6bd59a780 100644 --- a/src/modules/m_alias.cpp +++ b/src/modules/m_alias.cpp @@ -351,7 +351,7 @@ class ModuleAlias : public Module { // Prioritise after spanningtree so that channel aliases show the alias before the effects. Module* linkmod = ServerInstance->Modules->Find("m_spanningtree.so"); - ServerInstance->Modules->SetPriority(this, I_OnUserMessage, PRIORITY_AFTER, &linkmod); + ServerInstance->Modules->SetPriority(this, I_OnUserMessage, PRIORITY_AFTER, linkmod); } }; -- cgit v1.3.1-10-gc9f91