aboutsummaryrefslogtreecommitdiff
path: root/src/command_parse.cpp
diff options
context:
space:
mode:
authorGravatar Attila Molnar2014-06-13 15:03:56 +0200
committerGravatar Attila Molnar2014-06-13 15:03:56 +0200
commit12027601cf4422366b0cef632ff0158c9410cc9a (patch)
treefa259bed522394e1acd2bf1ef34ae6610fda2ffe /src/command_parse.cpp
parentm_spanningtree Explicitly specify the routing for RESYNC as the one inherited... (diff)
Change allocation of InspIRCd::stats to be physically part of the object containing it
While at it, remove "stats" from all field names
Diffstat (limited to 'src/command_parse.cpp')
-rw-r--r--src/command_parse.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command_parse.cpp b/src/command_parse.cpp
index d89d7cbb5..0669c89ad 100644
--- a/src/command_parse.cpp
+++ b/src/command_parse.cpp
@@ -208,7 +208,7 @@ void CommandParser::ProcessCommand(LocalUser *user, std::string &cmd)
{
if (user->registered == REG_ALL)
user->WriteNumeric(ERR_UNKNOWNCOMMAND, "%s :Unknown command",command.c_str());
- ServerInstance->stats->statsUnknown++;
+ ServerInstance->stats.Unknown++;
return;
}
}