RobTop profile fix
This commit is contained in:
parent
73bbf64e91
commit
ae9c105576
1 changed files with 2 additions and 1 deletions
3
index.js
3
index.js
|
@ -128,7 +128,8 @@ app.timeSince = function(id, time) {
|
||||||
}
|
}
|
||||||
|
|
||||||
app.userCache = function(id, accountID, playerID, name) {
|
app.userCache = function(id, accountID, playerID, name) {
|
||||||
if (!accountID || accountID == "0" || !app.config.cacheAccountIDs) return
|
|
||||||
|
if (!accountID || accountID == "0" || accountID == "7956303" || !app.config.cacheAccountIDs) return // 7956303 seems to be an account also named robtop?? weird
|
||||||
if (!playerID) return app.accountCache[id][accountID.toLowerCase()]
|
if (!playerID) return app.accountCache[id][accountID.toLowerCase()]
|
||||||
let cacheStuff = [accountID, playerID, name]
|
let cacheStuff = [accountID, playerID, name]
|
||||||
app.accountCache[id][name.toLowerCase()] = cacheStuff
|
app.accountCache[id][name.toLowerCase()] = cacheStuff
|
||||||
|
|
Loading…
Add table
Reference in a new issue