Merge pull request #3593 from thelounge/xpaw/fix-keepnick

Fix keep nick setting nick to undefined on socket close
This commit is contained in:
Pavel Djundik 2019-12-16 11:39:33 +02:00 committed by GitHub
commit 8fb8b94650
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -131,7 +131,7 @@ module.exports = function(irc, network) {
network.setNick(network.keepNick);
network.keepNick = null;
this.emit("nick", {
client.emit("nick", {
network: network.uuid,
nick: network.nick,
});