From 3700ba4ab6ad4b2e5fdffbd4f876ac578dacd2aa Mon Sep 17 00:00:00 2001 From: jesopo Date: Fri, 10 Apr 2020 21:36:17 +0100 Subject: [PATCH] on RPL_SASLMECHS, we should still wait_for the ERR_SASLFAIL after it --- ircrobots/sasl.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ircrobots/sasl.py b/ircrobots/sasl.py index 51e716b..41e9937 100644 --- a/ircrobots/sasl.py +++ b/ircrobots/sasl.py @@ -126,6 +126,7 @@ class SASLContext(ServerContext): # prior to CAP v3.2 - ERR telling us which mechs are supported available = line.params[1].split(",") match = _common(available) + await self.server.wait_for(NUMERICS_FAIL) elif line.command == "AUTHENTICATE" and line.params[0] == "+": auth_text = ""