aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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'):