Merge pull request #233 from thelounge/xpaw/fix-config

Fix not being able to remove networks from user config
This commit is contained in:
Alistair McKinlay 2016-04-02 16:31:58 +01:00
commit bb00d4261a

View File

@ -101,7 +101,7 @@ ClientManager.prototype.updateUser = function(name, opts) {
try {
user = this.readUserConfig(name);
_.merge(user, opts);
_.assign(user, opts);
fs.writeFileSync(
path,
JSON.stringify(user, null, " ")