From 635feb1a9a3ece8f06e1ad620b7b5a1eb21f8a44 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 4 Aug 2023 13:09:06 +0100 Subject: Rework how away state is stored internally. This will be necessary for implementing pre-away as well as some changes for WATCH compatibility with Unreal. --- src/modules/m_httpd_stats.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_httpd_stats.cpp') diff --git a/src/modules/m_httpd_stats.cpp b/src/modules/m_httpd_stats.cpp index 0ca0f5987..5733cc9e3 100644 --- a/src/modules/m_httpd_stats.cpp +++ b/src/modules/m_httpd_stats.cpp @@ -270,8 +270,8 @@ namespace Stats if (u->IsAway()) { - serializer.Attribute("away", u->awaymsg) - .Attribute("awaytime", u->awaytime); + serializer.Attribute("away", u->away->message) + .Attribute("awaytime", u->away->time); } if (u->IsOper()) -- cgit v1.3.1-10-gc9f91