X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_conn_join.cpp;h=e5df97d9018bfac11dcb2ff057fd7d8b9e12a0e5;hb=1041cb9329027ea2b3855836e2bb68ab7411730f;hp=7a06aedd3911c5cb7eeb967e8485aada4e306a0c;hpb=9986aa8b3d224823ea4c12a3f5a73be00f37e865;p=user%2Fhenk%2Fcode%2Finspircd.git 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()) {