From 12027601cf4422366b0cef632ff0158c9410cc9a Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Fri, 13 Jun 2014 15:03:56 +0200 Subject: Change allocation of InspIRCd::stats to be physically part of the object containing it While at it, remove "stats" from all field names --- src/command_parse.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/command_parse.cpp') 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; } } -- cgit v1.3.1-10-gc9f91