From 0bf14650fa5f14edce581efbd318367b81fce32f Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 10 May 2025 10:22:38 +0100 Subject: [PATCH] Always use the same stats object when deserialising stats. Closes #509. --- modules/operserv/os_stats.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/operserv/os_stats.cpp b/modules/operserv/os_stats.cpp index f1f8ecc87..fdf24875a 100644 --- a/modules/operserv/os_stats.cpp +++ b/modules/operserv/os_stats.cpp @@ -42,7 +42,7 @@ struct StatsType final { data["maxusercnt"] >> MaxUserCount; data["maxusertime"] >> MaxUserTime; - return obj; + return Stats::me; } };