forked from CringeStudios/gamja
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) {
|
||||
this.serverPrefix = msg.prefix;
|
||||
}
|
||||
this.nick = msg.params[0];
|
||||
|
||||
console.log("Registration complete");
|
||||
this.setStatus(Client.Status.REGISTERED);
|
||||
|
Loading…
x
Reference in New Issue
Block a user