aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2018-09-16 18:21:05 +0200
committerlassulus <lassulus@lassul.us>2018-09-16 18:21:05 +0200
commitd89b9839252db99e1ff5293d150ffa4aa1b95d62 (patch)
tree6a1f959fba54846758a80062bf44660e83e02e8f
parent208d6f21fb1da65aa6ac2598ba555d4ef80627ca (diff)
ircasy: fix spamming on_welcome
-rw-r--r--reaktor/ircasy.py2
1 files changed, 1 insertions, 1 deletions
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'):