From 05695e87f1c030cca68705df4f33cbab5676daaa Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期四, 20 九月 2018 13:56:40 +0800
Subject: [PATCH] 3696【前端】聊天禁言逻辑修改

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

diff --git a/System/Chat/ChatSendComponent.cs b/System/Chat/ChatSendComponent.cs
index f215765..892bbbc 100644
--- a/System/Chat/ChatSendComponent.cs
+++ b/System/Chat/ChatSendComponent.cs
@@ -84,6 +84,10 @@
             SinglePackModel singlePack = _packModel.GetSinglePackModel(PackType.rptItem);
             if (ChatCtrl.Inst.presentChatType == ChatInfoType.Trumpet)
             {
+                if (chatCenter.IsChatBanned)
+                {
+                    return;
+                }
                 List<ItemModel> _list = null;
                 var _count = singlePack.GetItemCountByID(chatCenter.bugleItem, out _list);
                 if (_count < 1)

--
Gitblit v1.8.0