diff options
author | lassulus <lassulus@lassul.us> | 2018-09-16 18:21:05 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2018-09-16 18:21:05 +0200 |
commit | d89b9839252db99e1ff5293d150ffa4aa1b95d62 (patch) | |
tree | 6a1f959fba54846758a80062bf44660e83e02e8f /reaktor | |
parent | 208d6f21fb1da65aa6ac2598ba555d4ef80627ca (diff) |
ircasy: fix spamming on_welcome
Diffstat (limited to 'reaktor')
-rw-r--r-- | reaktor/ircasy.py | 2 |
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'): |