Committer  : entrope
CVSROOT    : /cvsroot/undernet-ircu
Module     : ircu2.10
Commit time: 2005-05-05 01:36:25 UTC

Modified files:
     ircd/s_err.c include/numeric.h ChangeLog

Log message:

Remap oplevel numeric range.

---------------------- diff included ----------------------
Index: ircu2.10/ChangeLog
diff -u ircu2.10/ChangeLog:1.621 ircu2.10/ChangeLog:1.622
--- ircu2.10/ChangeLog:1.621    Tue May  3 19:55:37 2005
+++ ircu2.10/ChangeLog  Wed May  4 18:36:14 2005
@@ -1,8 +1,13 @@
+2005-05-04  Michael Poole <[EMAIL PROTECTED]>
+
+       * include/numeric.h: Remap oplevel numerics to new range.
+
+       * ircd/s_err.c: Likewise.
+
 2005-05-03  Michael Poole <[EMAIL PROTECTED]>
 
        * ircd/s_stats.c (stats_access): Update to use new CONF_CLIENT
        fields, fixing crash found by nighty.
-       
 
 2005-05-02  Michael Poole <[EMAIL PROTECTED]>
 
Index: ircu2.10/include/numeric.h
diff -u ircu2.10/include/numeric.h:1.38 ircu2.10/include/numeric.h:1.39
--- ircu2.10/include/numeric.h:1.38     Mon May  2 20:47:41 2005
+++ ircu2.10/include/numeric.h  Wed May  4 18:36:14 2005
@@ -18,7 +18,7 @@
  */
 /** @file
  * @brief Declarations of numeric replies and supporting functions.
- * @version $Id: numeric.h,v 1.38 2005/05/03 03:47:41 entrope Exp $
+ * @version $Id: numeric.h,v 1.39 2005/05/05 01:36:14 entrope Exp $
  */
 #ifndef INCLUDED_numeric_h
 #define INCLUDED_numeric_h
@@ -456,15 +456,15 @@
        ERR_WHOLIMEXCEED     523        dalnet */
 #define ERR_QUARANTINED      524       /* Undernet extension -Vampire */
 
-#define ERR_NOTLOWEROPLEVEL  550       /* Undernet extension */
-#define ERR_NOTMANAGER       551       /* Undernet extension */
-#define ERR_CHANSECURED      552       /* Undernet extension */
-#define ERR_UPASSSET         553       /* Undernet extension */
-#define ERR_UPASSNOTSET      554       /* Undernet extension */
-#define ERR_NOMANAGER_LONG   555       /* Undernet extension */
-#define ERR_NOMANAGER_SHORT  556       /* Undernet extension */
-#define ERR_UPASS_SAME_APASS 557        /* Undernet extension */
-#define ERR_LASTERROR        558
+#define ERR_NOTLOWEROPLEVEL  560       /* Undernet extension */
+#define ERR_NOTMANAGER       561       /* Undernet extension */
+#define ERR_CHANSECURED      562       /* Undernet extension */
+#define ERR_UPASSSET         563       /* Undernet extension */
+#define ERR_UPASSNOTSET      564       /* Undernet extension */
+#define ERR_NOMANAGER_LONG   565       /* Undernet extension */
+#define ERR_NOMANAGER_SHORT  566       /* Undernet extension */
+#define ERR_UPASS_SAME_APASS 567        /* Undernet extension */
+#define ERR_LASTERROR        568
 
 /*     RPL_LOGON            600        dalnet,unreal
        RPL_LOGOFF           601        dalnet,unreal
Index: ircu2.10/ircd/s_err.c
diff -u ircu2.10/ircd/s_err.c:1.67 ircu2.10/ircd/s_err.c:1.68
--- ircu2.10/ircd/s_err.c:1.67  Mon May  2 20:47:42 2005
+++ ircu2.10/ircd/s_err.c       Wed May  4 18:36:14 2005
@@ -18,7 +18,7 @@
  */
 /** @file
  * @brief Error handling support.
- * @version $Id: s_err.c,v 1.67 2005/05/03 03:47:42 entrope Exp $
+ * @version $Id: s_err.c,v 1.68 2005/05/05 01:36:14 entrope Exp $
  */
 #include "config.h"
 
@@ -1132,41 +1132,41 @@
 /* 549 */
   { 0 },
 /* 550 */
-  { ERR_NOTLOWEROPLEVEL, "%s %s %hu %hu :Cannot %s someone with %s op-level", 
"550" },
+  { 0 },
 /* 551 */
-  { ERR_NOTMANAGER, "%s :You must be channel Admin to add or remove a 
password. Use /JOIN %s <AdminPass>.", "551" },
+  { 0 },
 /* 552 */
-  { ERR_CHANSECURED, "%s :Channel is older than 48 hours and secured. Cannot 
change Admin pass anymore", "552" },
+  { 0 },
 /* 553 */
-  { ERR_UPASSSET, "%s :Cannot remove Admin pass (+A) while User pass (+U) is 
still set.  First use /MODE %s -U <userpass>", "553" },
+  { 0 },
 /* 554 */
-  { ERR_UPASSNOTSET, "%s :Cannot set user pass (+U) until Admin pass (+A) is 
set.  First use /MODE %s +A <adminpass>", "554" },
+  { 0 },
 /* 555 */
-  { ERR_NOMANAGER_LONG, "%s :Re-create the channel.  The channel must be 
*empty* for 48 continuous hours before it can be recreated.", "555" },
+  { 0 },
 /* 556 */
-  { ERR_NOMANAGER_SHORT, "%s :Re-create the channel.  The channel must be 
*empty* for a minute or two before it can be recreated.", "556" },
+  { 0 },
 /* 557 */
-  { ERR_UPASS_SAME_APASS, "%s :Cannot use the same pass for both admin (+A) 
and user (+U) pass.", "557" },
+  { 0 },
 /* 558 */
   { 0 },
 /* 559 */
   { 0 },
 /* 560 */
-  { 0 },
+  { ERR_NOTLOWEROPLEVEL, "%s %s %hu %hu :Cannot %s someone with %s op-level", 
"560" },
 /* 561 */
-  { 0 },
+  { ERR_NOTMANAGER, "%s :You must be channel Admin to add or remove a 
password. Use /JOIN %s <AdminPass>.", "561" },
 /* 562 */
-  { 0 },
+  { ERR_CHANSECURED, "%s :Channel is older than 48 hours and secured. Cannot 
change Admin pass anymore", "562" },
 /* 563 */
-  { 0 },
+  { ERR_UPASSSET, "%s :Cannot remove Admin pass (+A) while User pass (+U) is 
still set.  First use /MODE %s -U <userpass>", "563" },
 /* 564 */
-  { 0 },
+  { ERR_UPASSNOTSET, "%s :Cannot set user pass (+U) until Admin pass (+A) is 
set.  First use /MODE %s +A <adminpass>", "564" },
 /* 565 */
-  { 0 },
+  { ERR_NOMANAGER_LONG, "%s :Re-create the channel.  The channel must be 
*empty* for 48 continuous hours before it can be recreated.", "565" },
 /* 566 */
-  { 0 },
+  { ERR_NOMANAGER_SHORT, "%s :Re-create the channel.  The channel must be 
*empty* for a minute or two before it can be recreated.", "566" },
 /* 567 */
-  { 0 },
+  { ERR_UPASS_SAME_APASS, "%s :Cannot use the same pass for both admin (+A) 
and user (+U) pass.", "567" },
 /* 568 */
   { 0 },
 /* 569 */
----------------------- End of diff -----------------------
_______________________________________________
Patches mailing list
Patches@undernet.org
http://undernet.sbg.org/mailman/listinfo/patches

Reply via email to