From 342f94ec2206b931ab30b9b2b114e6068a81caf7 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 13 Jul 2023 10:08:10 +0100 Subject: Normalise the case of ServerStats. --- src/users.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/users.cpp') diff --git a/src/users.cpp b/src/users.cpp index 7edd9ed3e..69b8a7244 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -280,7 +280,7 @@ void UserIOHandler::OnDataReady() checked_until = 0; // TODO should this be moved to when it was inserted in recvq? - ServerInstance->stats.Recv += qpos; + ServerInstance->Stats.Recv += qpos; user->bytes_in += qpos; user->cmds_in++; @@ -464,7 +464,7 @@ bool LocalUser::CheckLines(bool doZline) void LocalUser::FullConnect() { - ServerInstance->stats.Connects++; + ServerInstance->Stats.Connects++; this->idle_lastmsg = ServerInstance->Time(); /* @@ -726,7 +726,7 @@ void LocalUser::Write(const ClientProtocol::SerializedMessage& text) eh.AddWriteBuf(text); const size_t bytessent = text.length() + 2; - ServerInstance->stats.Sent += bytessent; + ServerInstance->Stats.Sent += bytessent; this->bytes_out += bytessent; this->cmds_out++; } -- cgit v1.3.1-10-gc9f91