mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-12-05 22:42:06 +00:00
Fix requesting sasl multiple times
This commit is contained in:
1 parent
f113008c7f
commit
be1e6bde65
1 file changed
+1
-1
@@ -1679,7 +1679,7 @@ inbound_cap_ls (server *serv, char *nick, char *extensions_str,
|
|||||||
|
|
||||||
/* if the SASL password is set AND auth mode is set to SASL, request SASL auth */
|
/* if the SASL password is set AND auth mode is set to SASL, request SASL auth */
|
||||||
if (serv->loginmethod == LOGIN_SASL
|
if (serv->loginmethod == LOGIN_SASL
|
||||||
&& strcmp (extension, "sasl") != 0
|
&& strcmp (extension, "sasl") == 0
|
||||||
&& strlen (serv->password) != 0)
|
&& strlen (serv->password) != 0)
|
||||||
{
|
{
|
||||||
strcat (buffer, "sasl ");
|
strcat (buffer, "sasl ");
|
||||||
|
|||||||
Reference in new issue
Block a user