summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjesopo <github@lolnerd.net>2020-07-21 14:59:42 +0000
committerPatrick <tingping@tingping.se>2020-07-22 10:34:19 -0700
commitaec72593f265b09bc53291d00300490a5d0d9911 (patch)
treef114c5493164a10a8ca12ae573a8a9ad0faf7104
parentc5a798beec0f24f6828cd3c43bbefd1e18a9d33a (diff)
SASL EXTERNAL doesn't necessitate a certificate
-rw-r--r--src/common/inbound.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/inbound.c b/src/common/inbound.c
index eb7054f2..7ac3c71a 100644
--- a/src/common/inbound.c
+++ b/src/common/inbound.c
@@ -1805,7 +1805,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 (!g_strcmp0 (extension, "sasl") &&
((serv->loginmethod == LOGIN_SASL && strlen (serv->password) != 0)
- || (serv->loginmethod == LOGIN_SASLEXTERNAL && serv->have_cert)))
+ || serv->loginmethod == LOGIN_SASLEXTERNAL))
{
if (value)
{