mirror of
https://codeberg.org/emersion/gamja
synced 2025-03-13 07:48:37 +01:00
Read nickname from RPL_WELCOME
References: https://github.com/ircdocs/modern-irc/pull/146
This commit is contained in:
parent
05f7c6e9fe
commit
305f510501
@ -272,6 +272,7 @@ export default class Client extends EventTarget {
|
|||||||
if (msg.prefix) {
|
if (msg.prefix) {
|
||||||
this.serverPrefix = msg.prefix;
|
this.serverPrefix = msg.prefix;
|
||||||
}
|
}
|
||||||
|
this.nick = msg.params[0];
|
||||||
|
|
||||||
console.log("Registration complete");
|
console.log("Registration complete");
|
||||||
this.setStatus(Client.Status.REGISTERED);
|
this.setStatus(Client.Status.REGISTERED);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user