diff --git a/source/birchwood/client/client.d b/source/birchwood/client/client.d index 4e6ef4a..f9f3c44 100644 --- a/source/birchwood/client/client.d +++ b/source/birchwood/client/client.d @@ -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 *