comment about why server CAP/USER/NICK send() calls are not awaited
This commit is contained in:
parent
730fef38f3
commit
750fbd8acc
1 changed files with 1 additions and 0 deletions
|
@ -71,6 +71,7 @@ class Server(IServer):
|
|||
username = self.params.username or nickname
|
||||
realname = self.params.realname or nickname
|
||||
|
||||
# these must remain non-awaited; reading hasn't started yet
|
||||
self.send(build("CAP", ["LS", "302"]))
|
||||
self.send(build("NICK", [nickname]))
|
||||
self.send(build("USER", [username, "0", "*", realname]))
|
||||
|
|
Loading…
Reference in a new issue