fix chat logs not being saved after reconnect

This commit is contained in:
UnknownShadow200 2019-03-14 14:19:35 +11:00
parent c4f3af197f
commit c1afbb76ab

View File

@ -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);