]> jfr.im git - solanum.git/blobdiff - src/newconf.c
[svn] - add config option for setting max_clients.
[solanum.git] / src / newconf.c
index 7e2a3766ec99e7fd85a556104098b0b0cdfd8bcf..c65633f2984bb22a24731250c0be79a334a0bdc6 100644 (file)
@@ -1,5 +1,5 @@
 /* This code is in the public domain.
- * $Id: newconf.c 3131 2007-01-21 15:36:31Z jilles $
+ * $Id: newconf.c 3251 2007-03-05 18:58:38Z nenolod $
  */
 
 #include "stdinc.h"
@@ -1918,6 +1918,8 @@ static struct ConfEntry conf_serverinfo_table[] =
        { "vhost",              CF_QSTRING, conf_set_serverinfo_vhost,  0, NULL },
        { "vhost6",             CF_QSTRING, conf_set_serverinfo_vhost6, 0, NULL },
 
+       { "max_clients",        CF_INT,     NULL, 0, &ServerInfo.max_clients    },
+
        { "\0", 0, NULL, 0, NULL }
 };