+ : ServerProtocol::LinkEventListener(this)
+ , jf(this)
+ , ignoreuntil(0)
+ {
+ }
+
+ void ReadConfig(ConfigStatus&) CXX11_OVERRIDE
+ {
+ 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