From bb297a2931ce02ac460bbe9bfa797946edd42808 Mon Sep 17 00:00:00 2001 From: Michael Poole Date: Sat, 11 Sep 2004 03:46:29 +0000 Subject: [PATCH] Announce oplevels in CHANMODES. git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1116 c9e4aea6-c8fd-4c43-8297-357d70d61c8c --- ChangeLog | 5 +++++ include/supported.h | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index a303dd4..df3b82f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-09-10 Michael Poole + + * include/supported.h (FEATURESVALUES2): Include A,u, in CHANMODES + when oplevels are enabled. + 2004-09-10 Michael Poole * ircd/channel.c (send_channel_modes): Only send oplevels for diff --git a/include/supported.h b/include/supported.h index 9e6f71a..a576d8c 100644 --- a/include/supported.h +++ b/include/supported.h @@ -59,8 +59,9 @@ feature_int(FEAT_MAXBANS), feature_int(FEAT_NICKLEN), \ NICKLEN, TOPICLEN, AWAYLEN, TOPICLEN -#define FEATURESVALUES2 feature_bool(FEAT_LOCAL_CHANNELS) ? "#&" : "#", "(ov)@+", "b,k,l,imnpstrD", "rfc1459", \ - feature_str(FEAT_NETWORK) +#define FEATURESVALUES2 (feature_bool(FEAT_LOCAL_CHANNELS) ? "#&" : "#"), "(ov)@+", \ + (feature_bool(FEAT_OPLEVELS) ? "A,b,k,l,u,imnpstrD" : "b,k,l,imnpstrD"), \ + "rfc1459", feature_str(FEAT_NETWORK) #endif /* INCLUDED_supported_h */ -- 2.20.1