Ignore Herochat private messages (workaround).

This commit is contained in:
cnaude 2016-05-17 22:22:51 -07:00
parent 183eb8d32d
commit 511c4c3165
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ public class HeroChatListener implements Listener {
public void onChannelChatEvent(ChannelChatEvent event) {
Chatter chatter = event.getChatter();
Channel channel = chatter.getActiveChannel();
if ((channel instanceof ConversationChannel)) {
if (channel instanceof ConversationChannel || event.getFormat().contains("{convopartner}")) {
plugin.logDebug("Ignoring private message: " + chatter.getPrivateMessageFocus() + ":" + event.getMessage());
return;
}