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 --- include/ctables.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'include') diff --git a/include/ctables.h b/include/ctables.h index 2ccca0f7b..6ead8081f 100644 --- a/include/ctables.h +++ b/include/ctables.h @@ -119,10 +119,6 @@ class CoreExport Command : public ServiceProvider */ unsigned long use_count; - /** used by /stats m - */ - unsigned long total_bytes; - /** True if the command is disabled to non-opers */ bool disabled; @@ -163,7 +159,7 @@ class CoreExport Command : public ServiceProvider */ Command(Module* me, const std::string &cmd, int minpara = 0, int maxpara = 0) : ServiceProvider(me, cmd, SERVICE_COMMAND), flags_needed(0), min_params(minpara), max_params(maxpara), - use_count(0), total_bytes(0), disabled(false), works_before_reg(false), allow_empty_last_param(true), + use_count(0), disabled(false), works_before_reg(false), allow_empty_last_param(true), Penalty(1) { } -- cgit v1.3.1-10-gc9f91