Committer  : entrope
CVSROOT    : /cvsroot/undernet-ircu
Module     : ircu2.10
Commit time: 2005-08-25 18:09:14 UTC

Modified files:
     ChangeLog ircd/channel.c

Log message:

Accept +A/+U from servers regardless of FEAT_OPLEVELS.

---------------------- diff included ----------------------
Index: ircu2.10/ChangeLog
diff -u ircu2.10/ChangeLog:1.679 ircu2.10/ChangeLog:1.680
--- ircu2.10/ChangeLog:1.679    Wed Aug 24 18:39:15 2005
+++ ircu2.10/ChangeLog  Thu Aug 25 11:09:03 2005
@@ -1,3 +1,8 @@
+2005-08-25  Michael Poole <[EMAIL PROTECTED]>
+
+       * ircd/channel.c (mode_parse): Accept +A/+U from servers
+       regardless of FEAT_OPLEVELS.
+
 2005-08-24  Michael Poole <[EMAIL PROTECTED]>
 
        * ircd/ircd.c (parse_command_line): Mention epoll engine when run
Index: ircu2.10/ircd/channel.c
diff -u ircu2.10/ircd/channel.c:1.143 ircu2.10/ircd/channel.c:1.144
--- ircu2.10/ircd/channel.c:1.143       Wed Aug 24 18:26:46 2005
+++ ircu2.10/ircd/channel.c     Thu Aug 25 11:09:04 2005
@@ -19,7 +19,7 @@
  */
 /** @file
  * @brief Channel management and maintenance
- * @version $Id: channel.c,v 1.143 2005/08/25 01:26:46 entrope Exp $
+ * @version $Id: channel.c,v 1.144 2005/08/25 18:09:04 entrope Exp $
  */
 #include "config.h"
 
@@ -3215,12 +3215,12 @@
        break;
 
       case 'A': /* deal with Admin passes */
-        if (feature_bool(FEAT_OPLEVELS))
+        if (IsServer(cptr) || feature_bool(FEAT_OPLEVELS))
        mode_parse_apass(&state, flag_p);
        break;
 
       case 'U': /* deal with user passes */
-        if (feature_bool(FEAT_OPLEVELS))
+        if (IsServer(cptr) || feature_bool(FEAT_OPLEVELS))
        mode_parse_upass(&state, flag_p);
        break;
 
----------------------- End of diff -----------------------
_______________________________________________
Patches mailing list
[email protected]
http://undernet.sbg.org/mailman/listinfo/patches

Reply via email to