summaryrefslogtreecommitdiff
path: root/src/cmd_commands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd_commands.cpp')
-rw-r--r--src/cmd_commands.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_commands.cpp b/src/cmd_commands.cpp
index e4efdacea..848070e40 100644
--- a/src/cmd_commands.cpp
+++ b/src/cmd_commands.cpp
@@ -24,7 +24,7 @@ extern "C" command_t* init_command(InspIRCd* Instance)
CmdResult cmd_commands::Handle (const char** parameters, int pcnt, userrec *user)
{
- for (nspace::hash_map<std::string,command_t*>::iterator i = ServerInstance->Parser->cmdlist.begin(); i != ServerInstance->Parser->cmdlist.end(); i++)
+ for (command_table::iterator i = ServerInstance->Parser->cmdlist.begin(); i != ServerInstance->Parser->cmdlist.end(); i++)
{
user->WriteServ("902 %s :%s %s %d",user->nick,i->second->command.c_str(),i->second->source.c_str(),i->second->min_params);
}