modules/m_sasl.c: prevent abort_sasl() sending 906 twice
This commit is contained in:
parent
631c30890c
commit
6d8a8851df
1 changed files with 2 additions and 0 deletions
|
@ -183,6 +183,7 @@ m_authenticate(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *
|
|||
if (!strcmp(parv[1], "*"))
|
||||
{
|
||||
sendto_one(source_p, form_str(ERR_SASLABORTED), me.name, EmptyString(source_p->name) ? "*" : source_p->name);
|
||||
source_p->localClient->sasl_out = 0;
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -208,6 +209,7 @@ m_authenticate(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *
|
|||
{
|
||||
sendto_one(source_p, form_str(ERR_SASLABORTED), me.name, EmptyString(source_p->name) ? "*" : source_p->name);
|
||||
sendto_one(agent_p, ":%s ENCAP %s SASL %s %s D A", me.id, agent_p->servptr->name, source_p->id, agent_p->id);
|
||||
source_p->localClient->sasl_out = 0;
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue