summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/command_parse.cpp1
-rw-r--r--src/commands/cmd_stats.cpp2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/command_parse.cpp b/src/command_parse.cpp
index d386337f2..8008f1d4c 100644
--- a/src/command_parse.cpp
+++ b/src/command_parse.cpp
@@ -337,7 +337,6 @@ bool CommandParser::ProcessCommand(LocalUser *user, std::string &cmd)
{
/* passed all checks.. first, do the (ugly) stats counters. */
cm->second->use_count++;
- cm->second->total_bytes += cmd.length();
/* module calls too */
FIRST_MOD_RESULT(OnPreCommand, MOD_RESULT, (command, command_p, user, true, cmd));
diff --git a/src/commands/cmd_stats.cpp b/src/commands/cmd_stats.cpp
index 692b0d2ec..3145940be 100644
--- a/src/commands/cmd_stats.cpp
+++ b/src/commands/cmd_stats.cpp
@@ -205,7 +205,7 @@ void CommandStats::DoStats(char statschar, User* user, string_list &results)
if (i->second->use_count)
{
/* RPL_STATSCOMMANDS */
- results.push_back(sn+" 212 "+user->nick+" "+i->second->name+" "+ConvToStr(i->second->use_count)+" "+ConvToStr(i->second->total_bytes));
+ results.push_back(sn+" 212 "+user->nick+" "+i->second->name+" "+ConvToStr(i->second->use_count));
}
}
break;