0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-10-04 06:38:58 +02:00

m_sasl: fix coding style

This commit is contained in:
Mantas Mikulėnas 2016-04-11 20:12:31 +03:00
parent 37289346cd
commit 834579cecd
No known key found for this signature in database
GPG key ID: D24F6CB2C1B52632

View file

@ -230,7 +230,8 @@ me_sasl(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_
}
else if(*parv[3] == 'D')
{
if(*parv[4] == 'F') {
if(*parv[4] == 'F')
{
sendto_one(target_p, form_str(ERR_SASLFAIL), me.name, EmptyString(target_p->name) ? "*" : target_p->name);
if(target_p->localClient->sasl_messages > 0)
{
@ -241,7 +242,8 @@ me_sasl(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_
}
}
}
else if(*parv[4] == 'S') {
else if(*parv[4] == 'S')
{
sendto_one(target_p, form_str(RPL_SASLSUCCESS), me.name, EmptyString(target_p->name) ? "*" : target_p->name);
target_p->localClient->sasl_complete = 1;
ServerStats.is_ssuc++;