From 50ddd8a1cac916001b59676e8304d26cfd3fb0eb Mon Sep 17 00:00:00 2001 From: "Tristan B. Kildaire" Date: Mon, 28 Sep 2020 11:42:32 +0200 Subject: [PATCH] Strip whitespace from message to send to current channel --- source/app.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/app.d b/source/app.d index c1233bf..8aeae6f 100644 --- a/source/app.d +++ b/source/app.d @@ -178,7 +178,7 @@ void commandLine() } else { - dclient.sendMessage(false, currentChannel, commandLine); + dclient.sendMessage(false, currentChannel, strip(commandLine)); } }