diff options
author | Peter Powell <petpow@saberuk.com> | 2017-08-13 16:26:48 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2017-09-03 20:20:30 +0100 |
commit | e7c829af5941c6a8a303ca75ed9ac47570347e41 (patch) | |
tree | a40aa5b57346eb0b83e6f6b2cef1df36732800e5 /src/modules/m_ident.cpp | |
parent | 74dd288542e28f3604306cc69468f88b14c1b3c5 (diff) |
Convert a bunch of time-related config options to getDuration.
Diffstat (limited to 'src/modules/m_ident.cpp')
-rw-r--r-- | src/modules/m_ident.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_ident.cpp b/src/modules/m_ident.cpp index 0e5aa43ae..806c70ad2 100644 --- a/src/modules/m_ident.cpp +++ b/src/modules/m_ident.cpp @@ -271,7 +271,7 @@ class ModuleIdent : public Module void ReadConfig(ConfigStatus& status) CXX11_OVERRIDE { ConfigTag* tag = ServerInstance->Config->ConfValue("ident"); - RequestTimeout = tag->getInt("timeout", 5, 1); + RequestTimeout = tag->getDuration("timeout", 5, 1); NoLookupPrefix = tag->getBool("nolookupprefix", false); } |