summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2019-04-28 17:40:00 +0100
committerPeter Powell <petpow@saberuk.com>2019-04-28 17:41:12 +0100
commit1041cb9329027ea2b3855836e2bb68ab7411730f (patch)
tree2e0614e0e0cce303ddb4b4bbb0a1732cacf8e8df
parent9986aa8b3d224823ea4c12a3f5a73be00f37e865 (diff)
Raise the maximum time period for the conn_join module to 15m.
-rw-r--r--src/modules/m_conn_join.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_conn_join.cpp b/src/modules/m_conn_join.cpp
index 7a06aedd3..e5df97d90 100644
--- a/src/modules/m_conn_join.cpp
+++ b/src/modules/m_conn_join.cpp
@@ -75,7 +75,7 @@ class ModuleConnJoin : public Module
{
ConfigTag* tag = ServerInstance->Config->ConfValue("autojoin");
defchans = tag->getString("channel");
- defdelay = tag->getDuration("delay", 0, 0, 60);
+ defdelay = tag->getDuration("delay", 0, 0, 60*15);
}
void Prioritize() CXX11_OVERRIDE
@@ -95,7 +95,7 @@ class ModuleConnJoin : public Module
return;
std::string chanlist = localuser->GetClass()->config->getString("autojoin");
- unsigned int chandelay = localuser->GetClass()->config->getDuration("autojoindelay", 0, 0, 60);
+ unsigned int chandelay = localuser->GetClass()->config->getDuration("autojoindelay", 0, 0, 60*15);
if (chanlist.empty())
{