mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-06-29 22:36:39 +02:00
Send RPL_SASLMECHS to clients (#4253, patch from grawity)
This commit is contained in:
@@ -389,5 +389,6 @@
|
||||
#define ERR_SASLTOOLONG 905
|
||||
#define ERR_SASLABORTED 906
|
||||
#define ERR_SASLALREADY 907
|
||||
#define RPL_SASLMECHS 908
|
||||
|
||||
#define ERR_NUMERICERR 999
|
||||
|
||||
@@ -198,6 +198,8 @@ CMD_FUNC(m_sasl)
|
||||
|
||||
*target_p->local->sasl_agent = '\0';
|
||||
}
|
||||
else if (*parv[3] == 'M')
|
||||
sendto_one(target_p, err_str(RPL_SASLMECHS), me.name, BadPtr(target_p->name) ? "*" : target_p->name, parv[4]);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
+1
-1
@@ -960,7 +960,7 @@ static char *replies[] = {
|
||||
/* 905 ERR_SASLTOOLONG */ ":%s 905 %s :SASL message too long",
|
||||
/* 906 ERR_SASLABORTED */ ":%s 906 %s :SASL authentication aborted",
|
||||
/* 907 ERR_SASLALREADY */ ":%s 907 %s :You have already completed SASL authentication",
|
||||
/* 908 */ NULL,
|
||||
/* 908 RPL_SASLMECHS */ ":%s 908 %s %s :are available SASL mechanisms",
|
||||
/* 909 */ NULL,
|
||||
/* 910 */ NULL,
|
||||
/* 911 */ NULL,
|
||||
|
||||
Reference in New Issue
Block a user