diff --git a/src/org/yaaic/irc/IRCConnection.java b/src/org/yaaic/irc/IRCConnection.java index 80cf028..c40754a 100644 --- a/src/org/yaaic/irc/IRCConnection.java +++ b/src/org/yaaic/irc/IRCConnection.java @@ -557,6 +557,9 @@ public class IRCConnection extends PircBot @Override public void onTopic(String target, String topic, String setBy, long date, boolean changed) { + // strip mIRC colors + topic = Colors.removeFormattingAndColors(topic); + debug("Topic", target + " " + setBy + " " + topic); if (changed) {