]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - src/s_conf.c
[svn] add_id() for local client: do not collapse() the ban mask.
[irc/rqf/shadowircd.git] / src / s_conf.c
index 5f393ceb9295ba50794a436fd2a01217e84ed070..6d452c4de6b5d1f51ac338b50ec77832ff262c5d 100644 (file)
@@ -21,7 +21,7 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
  *  USA
  *
- *  $Id: s_conf.c 3368 2007-04-03 10:11:06Z nenolod $
+ *  $Id: s_conf.c 3446 2007-05-14 22:21:16Z jilles $
  */
 
 #include "stdinc.h"
@@ -850,8 +850,9 @@ set_default_conf(void)
         ConfigFileEntry.reject_after_count = 5;
        ConfigFileEntry.reject_ban_time = 300;  
        ConfigFileEntry.reject_duration = 120;
+       ConfigFileEntry.max_unknown_ip = 2;
 
-       ServerInfo.max_clients = comm_get_maxconnections();
+       ServerInfo.max_clients = comm_get_maxconnections() - MAX_BUFFER;
 }
 
 #undef YES