diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-05-07 18:51:47 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-05-07 18:51:47 +0000 |
commit | f15165b49a873aade78e50555d12df4e11189119 (patch) | |
tree | bd2f8849210b28b7368ecd2537de6a85f7516185 /src/cmd_stats.cpp | |
parent | 95f1be0b6f88cf93d164659d01832d6084483c2b (diff) |
we typedeffed nspace::hash_map<std::string,command_t*> to command_table ages ago.
Now its time we used it! command_table::iterator is far neater than nspace::hash_map<std::string,command_t*>::iterator
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6907 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/cmd_stats.cpp')
-rw-r--r-- | src/cmd_stats.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_stats.cpp b/src/cmd_stats.cpp index 5e9252381..a23dc250e 100644 --- a/src/cmd_stats.cpp +++ b/src/cmd_stats.cpp @@ -157,7 +157,7 @@ void DoStats(InspIRCd* ServerInstance, char statschar, userrec* user, string_lis /* stats m (list number of times each command has been used, plus bytecount) */ case 'm': - 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++) { if (i->second->use_count) { |