summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;