From ca6d00c7b95289c2df333666353fa5e7af0321f6 Mon Sep 17 00:00:00 2001 From: cnaude Date: Thu, 1 Jun 2017 19:20:27 -0700 Subject: [PATCH] Slightly less verbose debugging. --- .../com/cnaude/purpleirc/IRCListeners/MessageListener.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/cnaude/purpleirc/IRCListeners/MessageListener.java b/src/main/java/com/cnaude/purpleirc/IRCListeners/MessageListener.java index 00b14f8..3e54a6e 100644 --- a/src/main/java/com/cnaude/purpleirc/IRCListeners/MessageListener.java +++ b/src/main/java/com/cnaude/purpleirc/IRCListeners/MessageListener.java @@ -53,8 +53,9 @@ public class MessageListener extends ListenerAdapter { Channel channel = event.getChannel(); User user = event.getUser(); - plugin.logDebug("IRC message caught [channel: " + channel + "] [nick: " + user.getNick() + "] [[message: " + message + "]"); - + plugin.logDebug("IRC message caught [channel: " + channel.getName() + + " (" + channel.getMode() + ")] [nick: " + user.getNick() + + "] [message: " + message + "]"); try { if (plugin.shortifyHook != null && ircBot.isShortifyEnabled(channel.getName())) { plugin.logDebug("Shortifying message (before): " + message);