]> jfr.im git - irc/rqf/shadowircd.git/commitdiff
[svn] - MASTER_MAX is no longer relevant
authornenolod <redacted>
Mon, 5 Mar 2007 19:01:05 +0000 (11:01 -0800)
committernenolod <redacted>
Mon, 5 Mar 2007 19:01:05 +0000 (11:01 -0800)
ChangeLog
include/serno.h
modules/m_set.c

index 426f628bfe65028d9246478f5a5777be0b2e30a4..56395937ec57c03565037ed115c02b1914fb8287 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+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
index c1985d583a73eb8bb3ef8b5ee7fb33a643934d17..56f9b084be137d94ef4f9cb5d7e43da917f3eb44 100644 (file)
@@ -1 +1 @@
-#define SERNO "20070305-3249"
+#define SERNO "20070305-3251"
index 380350d6c974a44235520c5bbdd62c744f022e9d..b05a8ba6a5065ddcaf60461acbd9f381ada06f70 100644 (file)
@@ -21,7 +21,7 @@
  *  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 */
@@ -52,7 +52,7 @@ struct Message set_msgtab = {
 };
 
 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
@@ -246,13 +246,6 @@ quote_max(struct Client *source_p, int newval)
 {
        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)",