summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/m_sasl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_sasl.cpp b/src/modules/m_sasl.cpp
index 32f7dd832..0bc888999 100644
--- a/src/modules/m_sasl.cpp
+++ b/src/modules/m_sasl.cpp
@@ -97,7 +97,7 @@ class SaslAuthenticator
void SendClientMessage(const char* const* parameters, int pcnt)
{
- if (this->state == SASL_COMM)
+ if (this->state != SASL_COMM)
return;
std::deque<std::string> params;