diff options
| author | 2014-06-22 13:34:33 +0200 | |
|---|---|---|
| committer | 2014-06-22 13:34:33 +0200 | |
| commit | 5043a2f83598baa3afba53201f690e6deac3eafd (patch) | |
| tree | 6b98147395332e81245238b7d37344259e840d11 /src/coremods | |
| parent | core_userhost Show real host if the target is the same as the user doing the ... (diff) | |
Change all occurrences of plain sort() to std::sort()
Diffstat (limited to 'src/coremods')
| -rw-r--r-- | src/coremods/core_info/cmd_commands.cpp | 2 |
1 files changed, 1 insertions, 1 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"); |
