From 9b131bef322a4ed592d53e8c8eec8759287944a5 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 4 Nov 2007 16:50:50 +0000 Subject: More craq git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8507 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree/main.cpp | 4 ++-- src/modules/m_spanningtree/main.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules/m_spanningtree') 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) diff --git a/src/modules/m_spanningtree/main.h b/src/modules/m_spanningtree/main.h index 77b4d52ed..7374dd000 100644 --- a/src/modules/m_spanningtree/main.h +++ b/src/modules/m_spanningtree/main.h @@ -190,7 +190,7 @@ class ModuleSpanningTree : public Module virtual ~ModuleSpanningTree(); virtual Version GetVersion(); void Implements(char* List); - Priority Prioritize(); + void Prioritize(); }; #endif -- cgit v1.2.3