mirror of
https://github.com/thelounge/thelounge
synced 2024-11-22 12:03:11 +00:00
Merge pull request #233 from thelounge/xpaw/fix-config
Fix not being able to remove networks from user config
This commit is contained in:
commit
bb00d4261a
1 changed files with 1 additions and 1 deletions
|
@ -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, " ")
|
||||
|
|
Loading…
Reference in a new issue