Merge pull request #2640 from thelounge/xpaw/ignorelist-fix
Fix ignore list resetting on server restart
This commit is contained in:
commit
bb26da2c3a
@ -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 New Issue
Block a user