From c275233c7c356058c812ed3906a833b678e9de69 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 23 Apr 2009 19:03:40 +0000 Subject: Heres the beef so far git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11326 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/command_parse.h | 2 +- include/modules.h | 2 +- src/command_parse.cpp | 2 +- src/modules.cpp | 2 +- src/modules/m_spanningtree/main.cpp | 2 +- src/modules/m_spanningtree/postcommand.cpp | 2 +- win/inspircdVC80.vcproj | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/include/command_parse.h b/include/command_parse.h index f1d9d1b1c..f0d1990dc 100644 --- a/include/command_parse.h +++ b/include/command_parse.h @@ -201,7 +201,7 @@ class CoreExport CommandParser : public classbase * @param dest The output string, it is safe to pass source and dest as the same variable only for translation type TR_TEXT. * @return returns the number of substitutions made. Will always be 0 or 1 for TR_TEXT and 0..n for other types. */ - int TranslateUIDs(TranslateType to, const std::string &source, std::string &dest); + int TranslateUIDsOnce(TranslateType to, const std::string &source, std::string &dest); int TranslateUIDs(const std::deque to, const std::deque &source, std::string &dest); }; diff --git a/include/modules.h b/include/modules.h index 2f0f48b00..7239d7a9b 100644 --- a/include/modules.h +++ b/include/modules.h @@ -1703,7 +1703,7 @@ class CoreExport ModuleManager : public classbase * SetPriority method for this, where you may specify other modules to * be prioritized against. */ - bool SetPriority(Module* mod, Priority s); + bool SetModulePriority(Module* mod, Priority s); /** Attach an event to a module. * You may later detatch the event with ModuleManager::Detach(). diff --git a/src/command_parse.cpp b/src/command_parse.cpp index 94a4a55fe..2d3d87b2e 100644 --- a/src/command_parse.cpp +++ b/src/command_parse.cpp @@ -650,7 +650,7 @@ int CommandParser::TranslateUIDs(const std::deque to, const std:: return translations; } -int CommandParser::TranslateUIDs(TranslateType to, const std::string &source, std::string &dest) +int CommandParser::TranslateUIDsOnce(TranslateType to, const std::string &source, std::string &dest) { User* user = NULL; std::string item; diff --git a/src/modules.cpp b/src/modules.cpp index 6ea939e50..29d4b5555 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -238,7 +238,7 @@ void ModuleManager::DetachAll(Module* mod) Detach((Implementation)n, mod); } -bool ModuleManager::SetPriority(Module* mod, Priority s) +bool ModuleManager::SetModulePriority(Module* mod, Priority s) { for (size_t n = I_BEGIN + 1; n != I_END; ++n) SetPriority(mod, (Implementation)n, s); 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)) diff --git a/win/inspircdVC80.vcproj b/win/inspircdVC80.vcproj index fc3104185..31b2f679b 100644 --- a/win/inspircdVC80.vcproj +++ b/win/inspircdVC80.vcproj @@ -3947,7 +3947,7 @@ RelativePath="..\src\modules\m_nationalchars.cpp" >