From e7c829af5941c6a8a303ca75ed9ac47570347e41 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Sun, 13 Aug 2017 16:26:48 +0100 Subject: Convert a bunch of time-related config options to getDuration. --- src/modules/extra/m_ldap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/extra/m_ldap.cpp') 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(); } -- cgit v1.3.1-10-gc9f91