From d25e334ea010482ab55921fb4cf386df3b09fa51 Mon Sep 17 00:00:00 2001
From: client_Zxw <826696702@qq.com>
Date: 星期四, 20 九月 2018 14:24:33 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts

---
 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