mirror of https://github.com/jesopo/ircrobots
don't infinitely loop SASLUserPass attempts on FAIL or ABORT
This commit is contained in:
parent
dfd78b3d3e
commit
7b6a845927
|
@ -152,6 +152,8 @@ class SASLContext(ServerContext):
|
||||||
return SASLResult.SUCCESS
|
return SASLResult.SUCCESS
|
||||||
elif line.command == "904":
|
elif line.command == "904":
|
||||||
match.pop(0)
|
match.pop(0)
|
||||||
|
else:
|
||||||
|
break
|
||||||
|
|
||||||
return SASLResult.FAILURE
|
return SASLResult.FAILURE
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue