summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/extra/m_ldap.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/extra/m_ldap.cpp b/src/modules/extra/m_ldap.cpp
index c11025836..bf3809a24 100644
--- a/src/modules/extra/m_ldap.cpp
+++ b/src/modules/extra/m_ldap.cpp
@@ -170,7 +170,6 @@ class LDAPService : public LDAPProvider, public SocketThread
time_t last_connect;
int searchscope;
time_t timeout;
- time_t last_timeout_check;
public:
static LDAPMod** BuildMods(const LDAPMods& attributes)
@@ -247,7 +246,7 @@ class LDAPService : public LDAPProvider, public SocketThread
LDAPService(Module* c, ConfigTag* tag)
: LDAPProvider(c, "LDAP/" + tag->getString("id"))
- , con(NULL), config(tag), last_connect(0), last_timeout_check(0)
+ , con(NULL), config(tag), last_connect(0)
{
std::string scope = config->getString("searchscope");
if (scope == "base")