summaryrefslogtreecommitdiff
path: root/modules/m_sasl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/m_sasl.cpp')
-rw-r--r--modules/m_sasl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/m_sasl.cpp b/modules/m_sasl.cpp
index e7c6b6e93..98a554259 100644
--- a/modules/m_sasl.cpp
+++ b/modules/m_sasl.cpp
@@ -97,7 +97,7 @@ class External : public Mechanism
}
else if (m.type == "C")
{
- if (!certs)
+ if (!certs || mysess->cert.empty())
{
sasl->Fail(sess);
delete sess;