aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2017-12-05 18:03:46 +0100
committerlassulus <lassulus@lassul.us>2017-12-05 18:03:46 +0100
commit6ae02113c18c48de366b09e92f82b61c9c56adad (patch)
tree90c077a2b67df5145c07893d72e40149cf64344b
parentcc32bb1e832b6cac2163aa1ed96d742190c2c283 (diff)
execute on_welcome if no motd is provided
-rw-r--r--reaktor/ircasy.py2
1 files changed, 1 insertions, 1 deletions
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()