From d0e0314169e75c7b4a3239a75a4e2269afda70d3 Mon Sep 17 00:00:00 2001 From: jesopo Date: Sun, 20 Dec 2020 00:42:18 +0000 Subject: [PATCH] _check_regain wants a string list, not a string --- ircrobots/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ircrobots/server.py b/ircrobots/server.py index a460cda..46da592 100644 --- a/ircrobots/server.py +++ b/ircrobots/server.py @@ -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: