Filter community chat within the community chat handler

This commit is contained in:
Sam 2018-09-10 17:08:21 +01:00 committed by Alexander Meech
parent eb23a25eb5
commit 3e4593931c
1 changed files with 1 additions and 1 deletions

View File

@ -1040,7 +1040,7 @@ public class CommunityManager extends MiniDbClientPlugin<CommunityMemberData>
{ {
if (Recharge.Instance.use(sender, "Community Chat to " + target.getId(), target.getChatDelay(), false, false)) if (Recharge.Instance.use(sender, "Community Chat to " + target.getId(), target.getChatDelay(), false, false))
{ {
new CommunityChat(sender.getName(), target.getId(), event.getMessage()).publish(); new CommunityChat(sender.getName(), target.getId(), _chat.filterMessage(sender, true, event.getMessage())).publish();
} }
else else
{ {