summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-03-21 23:43:09 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-03-21 23:43:09 +0000
commit1428fd4f61b5c994a40d1b2ba433fc7453a7899f (patch)
treea9105d9019dac2ce5a0d8a6cf8464df21d620c4e
parent6b7eb8136bf44abc7d638bc6d4517fc616021922 (diff)
Patch from nenolod
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9166 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/m_sasl.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/m_sasl.cpp b/src/modules/m_sasl.cpp
index 99ed87f50..869e0b558 100644
--- a/src/modules/m_sasl.cpp
+++ b/src/modules/m_sasl.cpp
@@ -36,7 +36,7 @@ class SaslAuthenticator
public:
SaslAuthenticator(User *user, std::string method, InspIRCd *instance, Module *ctor)
- : ServerInstance(instance), Creator(ctor), user(user)
+ : ServerInstance(instance), Creator(ctor), user(user), state(SASL_INIT)
{
this->user->Extend("sasl_authenticator", this);
@@ -87,6 +87,8 @@ class SaslAuthenticator
}
break;
+ case SASL_DONE:
+ break;
default:
ServerInstance->Logs->Log("m_sasl", DEFAULT, "WTF: SaslState is not a known state (%d)", this->state);
break;