1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-09 15:23:12 +02:00

- Revert parts of r5199 that shouldn't have been included yet

This commit is contained in:
William Pitcock
2013-01-14 02:41:47 -06:00
parent 3f2382befa
commit 1678fc2013
+6 -7
View File
@@ -603,10 +603,9 @@ int stats_command(aClient *sptr, char *para)
{
int i;
aCommand *mptr;
SplayTreeIter iter;
SPLAYTREE_FOREACH(mptr, &iter, CommandTree)
if (mptr->count)
for (i = 0; i < 256; i++)
for (mptr = CommandHash[i]; mptr; mptr = mptr->next)
if (mptr->count)
#ifndef DEBUGMODE
sendto_one(sptr, rpl_str(RPL_STATSCOMMANDS),
me.name, sptr->name, mptr->cmd,
@@ -618,9 +617,9 @@ int stats_command(aClient *sptr, char *para)
mptr->lticks, mptr->lticks / CLOCKS_PER_SEC,
mptr->rticks, mptr->rticks / CLOCKS_PER_SEC);
#endif
SPLAYTREE_FOREACH(mptr, &iter, TokenTree)
if (mptr->count)
for (i = 0; i < 256; i++)
for (mptr = TokenHash[i]; mptr; mptr = mptr->next)
if (mptr->count)
#ifndef DEBUGMODE
sendto_one(sptr, rpl_str(RPL_STATSCOMMANDS),
me.name, sptr->name, mptr->cmd,