summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_spanningtree/main.cpp')
-rw-r--r--src/modules/m_spanningtree/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp
index 9497d25d0..1fc2968b4 100644
--- a/src/modules/m_spanningtree/main.cpp
+++ b/src/modules/m_spanningtree/main.cpp
@@ -1007,9 +1007,9 @@ void ModuleSpanningTree::Implements(char* List)
* Therefore, we return PRIORITY_LAST to make sure we end up at the END of
* the module call queue.
*/
-Priority ModuleSpanningTree::Prioritize()
+void ModuleSpanningTree::Prioritize()
{
- return PRIORITY_LAST;
+ ServerInstance->Modules->SetPriority(this, PRIO_LAST);
}
MODULE_INIT(ModuleSpanningTree)