From 04d0cd1ea7f395062c0a6db4b55f578b101fcd34 Mon Sep 17 00:00:00 2001 From: Michael Poole Date: Thu, 25 Aug 2005 18:09:04 +0000 Subject: [PATCH] Accept +A/+U from servers regardless of FEAT_OPLEVELS. git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1465 c9e4aea6-c8fd-4c43-8297-357d70d61c8c --- ChangeLog | 5 +++++ ircd/channel.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 95384e2..a9a4fb7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-08-25 Michael Poole + + * ircd/channel.c (mode_parse): Accept +A/+U from servers + regardless of FEAT_OPLEVELS. + 2005-08-24 Michael Poole * ircd/ircd.c (parse_command_line): Mention epoll engine when run diff --git a/ircd/channel.c b/ircd/channel.c index 1912d16..796f13b 100644 --- a/ircd/channel.c +++ b/ircd/channel.c @@ -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; -- 2.20.1