From c1afbb76abbb70541ab73bc735028acb66a4458b Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Thu, 14 Mar 2019 14:19:35 +1100 Subject: [PATCH] fix chat logs not being saved after reconnect --- src/Chat.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Chat.c b/src/Chat.c index 75371c7d7..82babfae1 100644 --- a/src/Chat.c +++ b/src/Chat.c @@ -576,6 +576,10 @@ static void Chat_Reset(void) { Chat_CloseLog(); Chat_LogName.length = 0; + ChatLog_LastLogDate.Day = 0; + ChatLog_LastLogDate.Month = 0; + ChatLog_LastLogDate.Year = 0; + /* reset CPE messages */ Chat_AddOf(&String_Empty, MSG_TYPE_ANNOUNCEMENT); Chat_AddOf(&String_Empty, MSG_TYPE_STATUS_1);