"001" literal -> RPL_WELCOME

This commit is contained in:
jesopo 2020-12-20 00:40:31 +00:00
parent 7a59ece687
commit a15e2bd1fb
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@ class Server(IServer):
await self._check_regain(line.hostmask.nickname)
elif emit is not None:
if emit.command == "001":
if emit.command == RPL_WELCOME:
await self.send(build("WHO", [self.nickname]))
self.set_throttle(THROTTLE_RATE, THROTTLE_TIME)