From dac63207aac2ed05603aaa7691421b6bbfc5dc35 Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Sat, 1 Jun 2013 22:52:02 +0200 Subject: Remove (non-functional) total_bytes counter from Command --- src/command_parse.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/command_parse.cpp') 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)); -- cgit v1.3.1-10-gc9f91