Stripepd whitespace from username.

This commit is contained in:
Tristan B. Kildaire 2020-05-15 16:47:18 +02:00
parent 2b54142439
commit 88af27c3cb
1 changed files with 1 additions and 1 deletions

View File

@ -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)