summaryrefslogtreecommitdiff
path: root/src/coremods/core_info/cmd_commands.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-06-22 13:34:33 +0200
committerAttila Molnar <attilamolnar@hush.com>2014-06-22 13:34:33 +0200
commit5043a2f83598baa3afba53201f690e6deac3eafd (patch)
tree6b98147395332e81245238b7d37344259e840d11 /src/coremods/core_info/cmd_commands.cpp
parent0f3db84269dc029aa00d706a9821ab00b7ed0c85 (diff)
Change all occurrences of plain sort() to std::sort()
Diffstat (limited to 'src/coremods/core_info/cmd_commands.cpp')
-rw-r--r--src/coremods/core_info/cmd_commands.cpp2
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");