diff options
| author | 2023-07-13 10:08:10 +0100 | |
|---|---|---|
| committer | 2023-07-13 14:07:26 +0100 | |
| commit | 342f94ec2206b931ab30b9b2b114e6068a81caf7 (patch) | |
| tree | 990f7b571c7de1ff6f923d71dd1710ef79a8e454 /src/users.cpp | |
| parent | Merge branch 'insp3' into master. (diff) | |
Normalise the case of ServerStats.
Diffstat (limited to 'src/users.cpp')
| -rw-r--r-- | src/users.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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++; } |
