summaryrefslogtreecommitdiff
path: root/src/cmd_stats.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-07 18:51:47 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-07 18:51:47 +0000
commitf15165b49a873aade78e50555d12df4e11189119 (patch)
treebd2f8849210b28b7368ecd2537de6a85f7516185 /src/cmd_stats.cpp
parent95f1be0b6f88cf93d164659d01832d6084483c2b (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.cpp2
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)
{