From e102e4a814c25aa42017ac962d88bfbfc8d279de Mon Sep 17 00:00:00 2001
From: client_Hale <339726288@qq.com>
Date: 星期三, 09 一月 2019 15:29:05 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts

---
 System/Chat/ChatCenter.cs |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/System/Chat/ChatCenter.cs b/System/Chat/ChatCenter.cs
index 2107389..6a12ace 100644
--- a/System/Chat/ChatCenter.cs
+++ b/System/Chat/ChatCenter.cs
@@ -79,6 +79,10 @@
             if (config != null)
             {
                 LocalChatHistory.localSaveCount = int.Parse(config.Numerical1);
+                if (!string.IsNullOrEmpty(config.Numerical2))
+                {
+                    LocalChatHistory.localChatKeepHour = int.Parse(config.Numerical2);
+                }
             }
         }
 

--
Gitblit v1.8.0