mirror of
https://github.com/thelounge/thelounge
synced 2024-11-26 22:10:22 +00:00
Fix keep nick setting nick to undefined on socket close
This commit is contained in:
parent
6a920fd4eb
commit
a8dd85d21e
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ module.exports = function(irc, network) {
|
||||||
network.setNick(network.keepNick);
|
network.setNick(network.keepNick);
|
||||||
network.keepNick = null;
|
network.keepNick = null;
|
||||||
|
|
||||||
this.emit("nick", {
|
client.emit("nick", {
|
||||||
network: network.uuid,
|
network: network.uuid,
|
||||||
nick: network.nick,
|
nick: network.nick,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue