summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDylan Frank <b00mx0r@aureus.pw>2018-03-25 09:02:00 -0700
committerPeter Powell <petpow@saberuk.com>2018-03-25 17:02:00 +0100
commitc7de80233a0cc52b30ad91ff2de9ecc2abdfba38 (patch)
treefc655b6d57541a38c3586878d1147d6453c9eba9 /docs
parent017e23fb61cdda7f92ca175b7afba5da5f78bd36 (diff)
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 <security:operspywhois> with an oper privilege. - Introduce <options:splitwhois> to split WHOIS channel lists. Closes #969.
Diffstat (limited to 'docs')
-rw-r--r--docs/conf/inspircd.conf.example13
-rw-r--r--docs/conf/opers.conf.example1
2 files changed, 8 insertions, 6 deletions
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 $*)