ConfigTag* tag = ServerInstance->Config->ConfValue("connflood");
/* throttle configuration */
seconds = tag->getDuration("period", tag->getDuration("seconds", 30));
- maxconns = tag->getInt("maxconns", 3);
+ maxconns = tag->getUInt("maxconns", 3);
timeout = tag->getDuration("timeout", 30);
quitmsg = tag->getString("quitmsg");
/* seconds to wait when the server just booted */
- boot_wait = tag->getDuration("bootwait", 10);
+ boot_wait = tag->getDuration("bootwait", 60*2);
first = ServerInstance->Time();
}