diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_joinflood.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/m_joinflood.cpp b/src/modules/m_joinflood.cpp index e5af2a4c6..28b12a086 100644 --- a/src/modules/m_joinflood.cpp +++ b/src/modules/m_joinflood.cpp @@ -139,6 +139,7 @@ class ModuleJoinFlood private: JoinFlood jf; time_t ignoreuntil; + unsigned long bootwait; unsigned long splitwait; public: @@ -156,7 +157,10 @@ class ModuleJoinFlood { ConfigTag* tag = ServerInstance->Config->ConfValue("joinflood"); duration = tag->getDuration("duration", 60, 10, 600); + bootwait = tag->getDuration("bootwait", 30); splitwait = tag->getDuration("splitwait", 30); + + ignoreuntil = ServerInstance->startup_time + bootwait; } void OnServerSplit(const Server* server, bool error) CXX11_OVERRIDE |