Revert "m_sasl: Don't process authentication messages if SASL has been aborted"

SASL does not work with this commit in the tree.

This reverts commit f44a0d7ea2.
This commit is contained in:
Aaron Jones 2019-06-08 20:59:36 +00:00
parent f44a0d7ea2
commit a589946b42
No known key found for this signature in database
GPG key ID: 8AF0737488AB3012

View file

@ -229,10 +229,6 @@ me_sasl(struct Client *client_p, struct Client *source_p,
if(!IsService(agent_p))
return 0;
/* If SASL has been aborted, do nothing. */
if (target_p->localClient->sasl_out != 0)
return 0;
/* Reject if someone has already answered. */
if(*target_p->localClient->sasl_agent && strncmp(parv[1], target_p->localClient->sasl_agent, IDLEN))
return 0;