diff options
Diffstat (limited to 'src/modules/m_ldapauth.cpp')
| -rw-r--r-- | src/modules/m_ldapauth.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/modules/m_ldapauth.cpp b/src/modules/m_ldapauth.cpp index 6275dc140..089f428b7 100644 --- a/src/modules/m_ldapauth.cpp +++ b/src/modules/m_ldapauth.cpp @@ -40,9 +40,9 @@ class BindInterface : public LDAPInterface const std::string provider; const std::string uid; std::string DN; - bool checkingAttributes; - bool passed; - int attrCount; + bool checkingAttributes = false; + bool passed = false; + int attrCount = 0; static std::string SafeReplace(const std::string& text, std::map<std::string, std::string>& replacements) { @@ -100,7 +100,9 @@ class BindInterface : public LDAPInterface public: BindInterface(Module* c, const std::string& p, const std::string& u, const std::string& dn) : LDAPInterface(c) - , provider(p), uid(u), DN(dn), checkingAttributes(false), passed(false), attrCount(0) + , provider(p) + , uid(u) + , DN(dn) { } |
