aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGravatar attilamolnar2013-06-01 22:52:02 +0200
committerGravatar attilamolnar2013-06-01 22:52:02 +0200
commitdac63207aac2ed05603aaa7691421b6bbfc5dc35 (patch)
tree45fac7ba54eb9190ab4991b9884d0f05307a0b0b /include
parentMerge pull request #551 from SaberUK/master+unused-configure (diff)
Remove (non-functional) total_bytes counter from Command
Diffstat (limited to 'include')
-rw-r--r--include/ctables.h6
1 files changed, 1 insertions, 5 deletions
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)
{
}