summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2009-04-23 19:03:40 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2009-04-23 19:03:40 +0000
commitc275233c7c356058c812ed3906a833b678e9de69 (patch)
tree3a61117770bf0f6eb157f897a68c4b54f2126f43 /src/modules/m_spanningtree
parenteed00fd454dd33bf47f9d605ecbdd9b610e14e7e (diff)
Heres the beef so far
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11326 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r--src/modules/m_spanningtree/main.cpp2
-rw-r--r--src/modules/m_spanningtree/postcommand.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp
index b38929ad0..836fb3185 100644
--- a/src/modules/m_spanningtree/main.cpp
+++ b/src/modules/m_spanningtree/main.cpp
@@ -946,7 +946,7 @@ Version ModuleSpanningTree::GetVersion()
*/
void ModuleSpanningTree::Prioritize()
{
- ServerInstance->Modules->SetPriority(this, PRIORITY_LAST);
+ ServerInstance->Modules->SetModulePriority(this, PRIORITY_LAST);
}
MODULE_INIT(ModuleSpanningTree)
diff --git a/src/modules/m_spanningtree/postcommand.cpp b/src/modules/m_spanningtree/postcommand.cpp
index d05d42d80..76ece27f9 100644
--- a/src/modules/m_spanningtree/postcommand.cpp
+++ b/src/modules/m_spanningtree/postcommand.cpp
@@ -68,7 +68,7 @@ void ModuleSpanningTree::OnPostCommand(const std::string &command, const std::ve
}
else
{
- ServerInstance->Parser->TranslateUIDs(translate_to, parameters[j], target);
+ ServerInstance->Parser->TranslateUIDsOnce(translate_to, parameters[j], target);
}
if (j == (parameters.size() - 1))