1
0
mirror of https://github.com/deavmi/birchwood synced 2024-09-20 07:23:14 +02:00
- Cleaned up and removed now-completed TODOs
This commit is contained in:
Tristan B. Velloza Kildaire 2023-07-03 16:42:26 +02:00
parent 499e53d19d
commit 0e6c5fb013

View File

@ -317,13 +317,11 @@ public class Client : Thread
/* If there are any invalid characters */
if(Message.hasIllegalCharacters(text))
{
import birchwood.config.conninfo : ChecksMode;
if(connInfo.getMode() == ChecksMode.EASY)
{
// TODO: Filter text here
// Filter the text and update it in-place
text = Message.stripIllegalCharacters(text);
return true;
}
else
@ -338,7 +336,6 @@ public class Client : Thread
}
}
/**
* Joins the requested channels
*