aboutsummaryrefslogtreecommitdiff
path: root/webAO
diff options
context:
space:
mode:
Diffstat (limited to 'webAO')
-rw-r--r--webAO/client.js2
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)