summaryrefslogtreecommitdiff
path: root/src/modules/m_securelist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_securelist.cpp')
-rw-r--r--src/modules/m_securelist.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_securelist.cpp b/src/modules/m_securelist.cpp
index e36b9e403..71788a835 100644
--- a/src/modules/m_securelist.cpp
+++ b/src/modules/m_securelist.cpp
@@ -24,7 +24,7 @@
class ModuleSecureList : public Module
{
std::vector<std::string> allowlist;
- time_t WaitTime;
+ unsigned int WaitTime;
public:
Version GetVersion() CXX11_OVERRIDE
@@ -40,7 +40,7 @@ class ModuleSecureList : public Module
for (ConfigIter i = tags.first; i != tags.second; ++i)
allowlist.push_back(i->second->getString("exception"));
- WaitTime = ServerInstance->Config->ConfValue("securelist")->getDuration("waittime", 60);
+ WaitTime = ServerInstance->Config->ConfValue("securelist")->getDuration("waittime", 60, 1);
}