_check_regain wants a string list, not a string

This commit is contained in:
jesopo 2020-12-20 00:42:18 +00:00
parent a15e2bd1fb
commit d0e0314169
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ class Server(IServer):
await self._check_regain(line.params[1].split(","))
elif (line.command in ["NICK", "QUIT"] and
line.source is not None):
await self._check_regain(line.hostmask.nickname)
await self._check_regain([line.hostmask.nickname])
elif emit is not None:
if emit.command == RPL_WELCOME: