Slightly less verbose debugging.

This commit is contained in:
cnaude 2017-06-01 19:20:27 -07:00
parent 6aac9c0988
commit ca6d00c7b9

View File

@ -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);