2020-09-02 10:54:37 +01:00
|
|
|
module.exports = function(username) {
|
2021-05-15 00:24:39 +01:00
|
|
|
for (let i = 0; i < global.userKeys.length; i++) {
|
|
|
|
if (global.users[global.userKeys[i]].username == username)
|
|
|
|
return global.users[global.userKeys[i]];
|
2020-09-02 10:54:37 +01:00
|
|
|
}
|
|
|
|
}
|