From f2fe52bc5ae4a2a520794d350dd65c1b8155eff3 Mon Sep 17 00:00:00 2001
From: client_Zxw <826696702@qq.com>
Date: 星期六, 10 十一月 2018 16:24:19 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
---
System/Chat/ChatSendComponent.cs | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/System/Chat/ChatSendComponent.cs b/System/Chat/ChatSendComponent.cs
index 7eac927..bb451fc 100644
--- a/System/Chat/ChatSendComponent.cs
+++ b/System/Chat/ChatSendComponent.cs
@@ -247,9 +247,9 @@
}
#region 鎭舵剰鍙戣█
- private string repeatChatContent = string.Empty;
- private int repeatChatCount = 0;
- private DateTime repeatTime = DateTime.Now;
+ static string repeatChatContent = string.Empty;
+ static int repeatChatCount = 0;
+ static DateTime repeatTime = DateTime.Now;
private void CheckRepeatContent(string _content)
{
if (repeatChatContent.Equals(_content)
@@ -269,9 +269,9 @@
}
}
- int maliceChatCount = 0;
- int maliceRecordCount = 0;
- private DateTime maliceChatTime = DateTime.Now;
+ static int maliceChatCount = 0;
+ static int maliceRecordCount = 0;
+ static DateTime maliceChatTime = DateTime.Now;
private void CheckMaliceChat(string _content)
{
if ((TimeUtility.ServerNow - maliceChatTime).TotalSeconds < chatCenter.banCheckSecond
--
Gitblit v1.8.0