Skip to content
Permalink
Browse files

fix chat logs not being saved after reconnect

  • Loading branch information...
UnknownShadow200 committed Mar 14, 2019
1 parent c4f3af1 commit c1afbb76abbb70541ab73bc735028acb66a4458b
Showing with 4 additions and 0 deletions.
  1. +4 −0 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);

0 comments on commit c1afbb7

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.