From 6ae02113c18c48de366b09e92f82b61c9c56adad Mon Sep 17 00:00:00 2001 From: lassulus Date: Tue, 5 Dec 2017 18:03:46 +0100 Subject: execute on_welcome if no motd is provided --- reaktor/ircasy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reaktor/ircasy.py b/reaktor/ircasy.py index bb9028a..312f074 100644 --- a/reaktor/ircasy.py +++ b/reaktor/ircasy.py @@ -122,7 +122,7 @@ class asybot(asychat): # ERR_NICKNAMEINUSE, retry with another name self.on_nickinuse(prefix, command, params, rest) - elif command == '376': + elif command == '376' or '422': self.on_welcome(prefix, command, params, rest) self.reset_alarm() -- cgit v1.2.3