From 1428fd4f61b5c994a40d1b2ba433fc7453a7899f Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 21 Mar 2008 23:43:09 +0000 Subject: Patch from nenolod git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9166 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_sasl.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/modules') 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); @@ -86,6 +86,8 @@ class SaslAuthenticator this->AnnounceState(); } + break; + case SASL_DONE: break; default: ServerInstance->Logs->Log("m_sasl", DEFAULT, "WTF: SaslState is not a known state (%d)", this->state); -- cgit v1.2.3