mirror of
https://github.com/thelounge/thelounge
synced 2024-11-26 14:00:21 +00:00
Merge pull request #2640 from thelounge/xpaw/ignorelist-fix
Fix ignore list resetting on server restart
This commit is contained in:
commit
bb26da2c3a
2 changed files with 2 additions and 0 deletions
|
@ -214,6 +214,7 @@ Client.prototype.connect = function(args) {
|
|||
ip: args.ip || (client.config && client.config.ip) || client.ip,
|
||||
hostname: args.hostname || (client.config && client.config.hostname) || client.hostname,
|
||||
channels: channels,
|
||||
ignoreList: args.ignoreList ? args.ignoreList : [],
|
||||
});
|
||||
|
||||
// Set network lobby channel id
|
||||
|
|
|
@ -309,6 +309,7 @@ function initializeClient(socket, client, token, lastMessage) {
|
|||
data.hostname = null;
|
||||
data.uuid = null;
|
||||
data.commands = null;
|
||||
data.ignoreList = null;
|
||||
|
||||
client.connect(data);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue