diff options
| author | sD <stoned@derpymail.org> | 2019-12-18 20:56:48 +0100 |
|---|---|---|
| committer | sD <stoned@derpymail.org> | 2019-12-18 20:56:48 +0100 |
| commit | ff947c36cc35169826a78da6ed47456edf109ec4 (patch) | |
| tree | 703f8b329dc914481d30a95cec3674ddb34009f8 /webAO/client.js | |
| parent | 58fe559f92081ef1ffe08f4244f940e148edf86c (diff) | |
more fallbacks for ini files
Diffstat (limited to 'webAO/client.js')
| -rw-r--r-- | webAO/client.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/webAO/client.js b/webAO/client.js index d8ad42b..7549e2d 100644 --- a/webAO/client.js +++ b/webAO/client.js @@ -552,6 +552,8 @@ class Client extends EventEmitter { } catch(err) { cini = {}; } + if (cini.options === undefined) + cini.options = {} if (cini.options.name === undefined) cini.options.name = chargs[0].toLowerCase(); if (cini.options.showname === undefined) |
