aboutsummaryrefslogtreecommitdiffstats
path: root/src/users.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp2
1 files changed, 1 insertions, 1 deletions
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;