From d89b9839252db99e1ff5293d150ffa4aa1b95d62 Mon Sep 17 00:00:00 2001 From: lassulus Date: Sun, 16 Sep 2018 18:21:05 +0200 Subject: ircasy: fix spamming on_welcome --- reaktor/ircasy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reaktor/ircasy.py b/reaktor/ircasy.py index 0a4d4eb..bdb0a60 100644 --- a/reaktor/ircasy.py +++ b/reaktor/ircasy.py @@ -130,7 +130,7 @@ class asybot(asychat): # ERR_NICKNAMEINUSE, retry with another name self.on_nickinuse(prefix, command, params, rest) - elif command == '376' or '422': + elif command == '376' or command == '422': self.on_welcome(prefix, command, params, rest) elif command == 'NOTICE' and rest.startswith('You are now identified'): -- cgit v1.2.3