From c7de80233a0cc52b30ad91ff2de9ecc2abdfba38 Mon Sep 17 00:00:00 2001 From: Dylan Frank Date: Sun, 25 Mar 2018 09:02:00 -0700 Subject: Separate secret and private channels on whois for non-opers (#1447) Separate secret and private channels on WHOIS for all users. - Move the config parsing from the core to core_whois. - Replace with an oper privilege. - Introduce to split WHOIS channel lists. Closes #969. --- docs/conf/inspircd.conf.example | 13 +++++++------ docs/conf/opers.conf.example | 1 + 2 files changed, 8 insertions(+), 6 deletions(-) (limited to 'docs') diff --git a/docs/conf/inspircd.conf.example b/docs/conf/inspircd.conf.example index 980409863..fba17b8cc 100644 --- a/docs/conf/inspircd.conf.example +++ b/docs/conf/inspircd.conf.example @@ -602,6 +602,13 @@ # serverpingfreq: How often pings are sent between servers. serverpingfreq="1m" + # splitwhois: Whether to split private/secret channels from normal channels + # in WHOIS responses. Possible values for this are: + # 'no' - list all channels together in the WHOIS response regardless of type. + # 'split' - split private/secret channels to a separate WHOIS response numeric. + # 'splitmsg' - the same as split but also send a message explaining the split. + splitwhois="no" + # defaultmodes: What modes are set on a empty channel when a user # joins it and it is unregistered. defaultmodes="not" @@ -720,12 +727,6 @@ # of the VERSION command response. This does not hide the InspIRCd version. customversion="" - # operspywhois: show opers (users/auspex) the +s channels a user is in. Values: - # splitmsg Split with an explanatory message - # yes Split with no explanatory message - # no Do not show - operspywhois="no" - # runasuser: If this is set, InspIRCd will attempt to switch # to run as this user, which allows binding of ports under 1024. # You should NOT set this unless you are starting as root. diff --git a/docs/conf/opers.conf.example b/docs/conf/opers.conf.example index 5e1ec28f5..a3dfd9311 100644 --- a/docs/conf/opers.conf.example +++ b/docs/conf/opers.conf.example @@ -21,6 +21,7 @@ # VIEWING: # - channels/auspex: allows opers with this priv to see more detail about channels than normal users. # - users/auspex: allows opers with this priv to view more details about users than normal users, e.g. real host and IP. + # - users/channel-spy: allows opers with this priv to view the private/secret channels that a user is on. # - servers/auspex: allows opers with this priv to see more detail about server information than normal users. # ACTIONS: # - users/mass-message: allows opers with this priv to PRIVMSG and NOTICE to a server mask (e.g. NOTICE $*) -- cgit v1.2.3