diff options
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) |
