]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_connflood.cpp
Ignore clients on ulined servers when reporting stats in LUSERS.
[user/henk/code/inspircd.git] / src / modules / m_connflood.cpp
index 32d36188b3ec26abe63f85c949288812d83301f4..78271b5a17d76683f14b99125497f3e94aaf34ed 100644 (file)
@@ -49,12 +49,12 @@ public:
                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();
        }