From 713807cfa62c257335fd8d1014776cec3131aeca Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Wed, 25 Feb 2026 15:11:52 +0000 Subject: Only increase the connection counter when a user is fully connected. --- src/users.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/users.cpp') diff --git a/src/users.cpp b/src/users.cpp index 369b3c9f0..f249460c3 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -451,7 +451,6 @@ bool LocalUser::CheckLines(bool doZline) void LocalUser::FullConnect() { - ServerInstance->Stats.Connects++; this->idle_lastmsg = ServerInstance->Time(); /* @@ -474,6 +473,7 @@ void LocalUser::FullConnect() FOREACH_MOD(OnUserConnect, (this)); // The user is now fully connected. + ServerInstance->Stats.Connects++; if (ServerInstance->Users.unknown_count) ServerInstance->Users.unknown_count--; this->connected = CONN_FULL; -- cgit v1.3.1-10-gc9f91