summaryrefslogtreecommitdiff
path: root/src/command_parse.cpp
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-06-01 22:52:02 +0200
committerattilamolnar <attilamolnar@hush.com>2013-06-01 22:52:02 +0200
commitdac63207aac2ed05603aaa7691421b6bbfc5dc35 (patch)
tree45fac7ba54eb9190ab4991b9884d0f05307a0b0b /src/command_parse.cpp
parenta15d4c391bfd4ffed1e8552636be821784df0ac4 (diff)
Remove (non-functional) total_bytes counter from Command
Diffstat (limited to 'src/command_parse.cpp')
-rw-r--r--src/command_parse.cpp1
1 files changed, 0 insertions, 1 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));