AuthManager

- `getUser(string username)` will now return `null` if the user could not be found, else the `User*` is returned
This commit is contained in:
Tristan B. Velloza Kildaire 2023-11-22 21:48:40 +02:00
parent cef970944a
commit 9205c5cd06
1 changed files with 1 additions and 1 deletions

View File

@ -257,7 +257,7 @@ public class AuthManager
// Lock
this.usersLock.lock();
foundUser = this.users[username];
foundUser = *(username in this.users);
// Unlock
this.usersLock.unlock();