Fix ignore list resetting on server restart
This commit is contained in:
parent
3bf24047dd
commit
e8b3836050
@ -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