mirror of
https://codeberg.org/emersion/gamja.git
synced 2024-11-14 19:05:01 -05:00
Read nickname from RPL_WELCOME
References: https://github.com/ircdocs/modern-irc/pull/146
This commit is contained in:
parent
05f7c6e9fe
commit
305f510501
1 changed files with 1 additions and 0 deletions
|
@ -272,6 +272,7 @@ export default class Client extends EventTarget {
|
|||
if (msg.prefix) {
|
||||
this.serverPrefix = msg.prefix;
|
||||
}
|
||||
this.nick = msg.params[0];
|
||||
|
||||
console.log("Registration complete");
|
||||
this.setStatus(Client.Status.REGISTERED);
|
||||
|
|
Loading…
Reference in a new issue