Skip to content
This repository has been archived by the owner on Jul 27, 2019. It is now read-only.

Commit

Permalink
Ignore Herochat private messages (workaround).
Browse files Browse the repository at this point in the history
  • Loading branch information
cnaude committed May 18, 2016
1 parent a6321c0 commit ff15af4
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -53,7 +53,7 @@ public HeroChatListener(PurpleIRC plugin) {
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;
}
Expand Down

0 comments on commit ff15af4

Please sign in to comment.