diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/coremods/core_info/cmd_commands.cpp | 2 | ||||
-rw-r--r-- | src/modules/m_spanningtree/capab.cpp | 2 | ||||
-rw-r--r-- | src/server.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/coremods/core_info/cmd_commands.cpp b/src/coremods/core_info/cmd_commands.cpp index 3a892c5c4..3ff6728d8 100644 --- a/src/coremods/core_info/cmd_commands.cpp +++ b/src/coremods/core_info/cmd_commands.cpp @@ -45,7 +45,7 @@ CmdResult CommandCommands::Handle (const std::vector<std::string>&, User *user) RPL_COMMANDS, user->nick.c_str(), i->second->name.c_str(), src->ModuleSourceFile.c_str(), i->second->min_params, i->second->Penalty)); } - sort(list.begin(), list.end()); + std::sort(list.begin(), list.end()); for(unsigned int i=0; i < list.size(); i++) user->Write(list[i]); user->WriteNumeric(RPL_COMMANDSEND, ":End of COMMANDS list"); diff --git a/src/modules/m_spanningtree/capab.cpp b/src/modules/m_spanningtree/capab.cpp index 5d87b1578..e242bcd4a 100644 --- a/src/modules/m_spanningtree/capab.cpp +++ b/src/modules/m_spanningtree/capab.cpp @@ -69,7 +69,7 @@ static std::string BuildModeList(ModeType type) modes.push_back(mdesc); } } - sort(modes.begin(), modes.end()); + std::sort(modes.begin(), modes.end()); return irc::stringjoiner(modes); } diff --git a/src/server.cpp b/src/server.cpp index ab5369231..66466fae9 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -193,7 +193,7 @@ void ISupportManager::Build() std::map<std::string, std::string>::iterator extban = tokens.find("EXTBAN"); if (extban != tokens.end()) { - sort(extban->second.begin(), extban->second.end()); + std::sort(extban->second.begin(), extban->second.end()); extban->second.insert(0, ","); } |