1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-11-22 17:02:21 -05:00

Remove colors/formatting from topic

This commit is contained in:
Sebastian Kaspari 2010-03-20 22:02:04 +01:00
parent 251bee24f7
commit 5ff4c85226

View File

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