diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-04-18 19:32:36 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-04-18 19:32:36 +0200 |
| commit | 1805e6d82a54a527323b14f47f31f35967541ce3 (patch) | |
| tree | c505f831f9516c1c018176a4b28d9cefec0e4d57 /api.js | |
| parent | ad88b9a19cd5438d18be061db08511183b6a20bf (diff) | |
| download | discordbot-1805e6d82a54a527323b14f47f31f35967541ce3.tar.gz discordbot-1805e6d82a54a527323b14f47f31f35967541ce3.zip | |
fix undefineds; add simple account-ign storage
Diffstat (limited to 'api.js')
| -rw-r--r-- | api.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -68,7 +68,7 @@ async function getMappings() { ["gamemode"], async (table) => { mapping[table] = new Map(); (await getMap(table)).map( - (map) => mapping[table]["id"] = map["name"]) + (map) => mapping[table][map["id"]] = map["name"]) } ); return mapping; |
