Accept +A/+U from servers regardless of FEAT_OPLEVELS.
authorMichael Poole <mdpoole@troilus.org>
Thu, 25 Aug 2005 18:09:04 +0000 (18:09 +0000)
committerMichael Poole <mdpoole@troilus.org>
Thu, 25 Aug 2005 18:09:04 +0000 (18:09 +0000)
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1465 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

ChangeLog
ircd/channel.c

index 95384e2aaacb1b2d2f3452a3f01e109ba401ea6e..a9a4fb7265055f0d60bf5098fbe8c3f430515e95 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-08-25  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/channel.c (mode_parse): Accept +A/+U from servers
+       regardless of FEAT_OPLEVELS.
+
 2005-08-24  Michael Poole <mdpoole@troilus.org>
 
        * ircd/ircd.c (parse_command_line): Mention epoll engine when run
index 1912d16275899a6a9470964f39fa45e40ccb6ab8..796f13b53f06fd3afda3edf098db3a96cc2d532d 100644 (file)
@@ -3215,12 +3215,12 @@ mode_parse(struct ModeBuf *mbuf, struct Client *cptr, struct Client *sptr,
        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;