From ff947c36cc35169826a78da6ed47456edf109ec4 Mon Sep 17 00:00:00 2001 From: sD Date: Wed, 18 Dec 2019 20:56:48 +0100 Subject: more fallbacks for ini files --- webAO/client.js | 2 ++ 1 file changed, 2 insertions(+) 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) -- cgit