mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-09 18:49:03 -04:00
Raise the maximum time period for the conn_join module to 15m.
This commit is contained in:
parent
9986aa8b3d
commit
1041cb9329
@ -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())
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user