Commits

Anonymous committed 7717c9e

[svn] - MASTER_MAX is no longer relevant

  • Participants
  • Parent commits 2135480

Comments (0)

Files changed (3)

+nenolod     2007/03/05 18:58:38 UTC	(20070305-3251)
+  Log:
+  - add config option for setting max_clients.
+  
+
+  Changes:	Modified:
+  +5 -0		trunk/doc/example.conf (File Modified) 
+  +5 -0		trunk/doc/reference.conf (File Modified) 
+  +2 -0		trunk/include/s_conf.h (File Modified) 
+  +1 -1		trunk/src/ircd.c (File Modified) 
+  +2 -0		trunk/src/newconf.c (File Modified) 
+  +2 -1		trunk/src/s_conf.c (File Modified) 
+
+
 nenolod     2007/03/05 18:51:17 UTC	(20070305-3249)
   Log:
   - remove get_maxrss() and all of that insecure and unsafe nonsense
-#define SERNO "20070305-3249"
+#define SERNO "20070305-3251"
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
  *  USA
  *
- *  $Id: m_set.c 3161 2007-01-25 07:23:01Z nenolod $
+ *  $Id: m_set.c 3253 2007-03-05 19:01:05Z nenolod $
  */
 
 /* rewritten by jdc */
 };
 
 mapi_clist_av1 set_clist[] = { &set_msgtab, NULL };
-DECLARE_MODULE_AV1(set, NULL, NULL, set_clist, NULL, NULL, "$Revision: 3161 $");
+DECLARE_MODULE_AV1(set, NULL, NULL, set_clist, NULL, NULL, "$Revision: 3253 $");
 
 /* Structure used for the SET table itself */
 struct SetStruct
 {
 	if(newval > 0)
 	{
-		if(newval > MASTER_MAX)
-		{
-			sendto_one_notice(source_p, ":You cannot set MAXCLIENTS to > MASTER_MAX (%d)",
-				   MASTER_MAX);
-			return;
-		}
-
 		if(newval < 32)
 		{
 			sendto_one_notice(source_p, ":You cannot set MAXCLIENTS to < 32 (%d:%d)",