mirror of
https://github.com/moparisthebest/Yaaic
synced 2024-11-26 10:52:16 -05:00
Remove colors/formatting from topic
This commit is contained in:
parent
251bee24f7
commit
5ff4c85226
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user