comment about why server CAP/USER/NICK send() calls are not awaited

This commit is contained in:
jesopo 2020-04-05 23:57:02 +01:00
parent 730fef38f3
commit 750fbd8acc

View file

@ -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]))