From 88af27c3cb980ea6341818624b120cfc6261ebd3 Mon Sep 17 00:00:00 2001 From: "Tristan B. Kildaire" Date: Fri, 15 May 2020 16:47:18 +0200 Subject: [PATCH] Stripepd whitespace from username. --- source/server/server.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/server/server.d b/source/server/server.d index 523ae58..25f95f9 100644 --- a/source/server/server.d +++ b/source/server/server.d @@ -229,7 +229,7 @@ public final class BesterServer bool authed = true; /* Strip the username of whitespace (TODO: Should we?) */ - //username = strip(username); + username = strip(username); /* Make sure username and password are not empty */ if(cmp(username, "") != 0 && cmp(password, "") != 0)