summaryrefslogtreecommitdiff
path: root/src/modules/extra/m_ldap.cpp
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2017-08-13 16:26:48 +0100
committerPeter Powell <petpow@saberuk.com>2017-09-03 20:20:30 +0100
commite7c829af5941c6a8a303ca75ed9ac47570347e41 (patch)
treea40aa5b57346eb0b83e6f6b2cef1df36732800e5 /src/modules/extra/m_ldap.cpp
parent74dd288542e28f3604306cc69468f88b14c1b3c5 (diff)
Convert a bunch of time-related config options to getDuration.
Diffstat (limited to 'src/modules/extra/m_ldap.cpp')
-rw-r--r--src/modules/extra/m_ldap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/extra/m_ldap.cpp b/src/modules/extra/m_ldap.cpp
index fc1bee939..08d81e960 100644
--- a/src/modules/extra/m_ldap.cpp
+++ b/src/modules/extra/m_ldap.cpp
@@ -263,7 +263,7 @@ class LDAPService : public LDAPProvider, public SocketThread
searchscope = LDAP_SCOPE_ONELEVEL;
else
searchscope = LDAP_SCOPE_SUBTREE;
- timeout = config->getInt("timeout", 5);
+ timeout = config->getDuration("timeout", 5);
Connect();
}