summaryrefslogtreecommitdiff
path: root/src/modules/m_sasl.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-03-21 23:27:45 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-03-21 23:27:45 +0000
commit82d7d838a801ca923dca340f6ab50ad57894d1e9 (patch)
tree320ba004219c7bef162dece9fd58dbb9843aa79c /src/modules/m_sasl.cpp
parent0eb86fcf7373f2990e7e69f9b426839b094aa72f (diff)
Fix recommended by nenolod, silly mistake apparently :P
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9164 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_sasl.cpp')
-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;