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:
parent
cef970944a
commit
9205c5cd06
|
@ -257,7 +257,7 @@ public class AuthManager
|
|||
// Lock
|
||||
this.usersLock.lock();
|
||||
|
||||
foundUser = this.users[username];
|
||||
foundUser = *(username in this.users);
|
||||
|
||||
// Unlock
|
||||
this.usersLock.unlock();
|
||||
|
|
Loading…
Reference in New Issue