1
0
Fork 0
mirror of https://github.com/besterprotocol/besterd synced 2023-12-13 21:00:32 +01:00

Stripepd whitespace from username.

This commit is contained in:
Tristan B. Kildaire 2020-05-15 16:47:18 +02:00
parent 2b54142439
commit 88af27c3cb

View file

@ -229,7 +229,7 @@ public final class BesterServer
bool authed = true; bool authed = true;
/* Strip the username of whitespace (TODO: Should we?) */ /* Strip the username of whitespace (TODO: Should we?) */
//username = strip(username); username = strip(username);
/* Make sure username and password are not empty */ /* Make sure username and password are not empty */
if(cmp(username, "") != 0 && cmp(password, "") != 0) if(cmp(username, "") != 0 && cmp(password, "") != 0)