Skip to content

Commit 490e06f

Browse files
authored
Add various missing information to the example configs.
* Add missing restriction exemptions in example configs, and remove blockcaps. * Add missing extbans in example help config, and remove blockcaps. * Add missing user and channel modes in example help config. * Add the extban names in addition to the characters.
1 parent 6b2c0a6 commit 490e06f

File tree

2 files changed

+61
-42
lines changed

2 files changed

+61
-42
lines changed

docs/conf/help.example.conf

Lines changed: 57 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -862,6 +862,8 @@ using their cloak when they quit.
862862
(requires the account module).
863863
S Strips formatting codes out of private messages
864864
to the user (requires the stripcolor module).
865+
T Enables blocking private messages that contain CTCPs
866+
(requires the noctcp module).
865867
W Receives notifications when a user uses WHOIS on them
866868
(server operators only, requires the showwhois module).
867869
">
@@ -878,6 +880,13 @@ using their cloak when they quit.
878880
q <nickname> Gives owner status to <nickname>, preventing them
879881
from being kicked (Services or +q only, requires
880882
the customprefix module).
883+
y <nickname> Grants the server operator-only channel operprefix
884+
status to <nickname>. Can not be directly set by users,
885+
gets set automatically on server operators.
886+
(requires the operprefix module).
887+
Y <nickname> Grants the server operator-only channel official-join
888+
status to <nickname>. Can not be directly set by users,
889+
use /OJOIN to have it set (requires the ojoin module).
881890

882891
b <hostmask> Bans <hostmask> from the channel.
883892
e <hostmask> Excepts <hostmask> from bans (requires the
@@ -973,9 +982,14 @@ using their cloak when they quit.
973982
channel (requires the stripcolor module).
974983
T Blocks /NOTICEs to the channel from users who are
975984
not at least halfop (requires the nonotice module).
985+
U Hides the messages of unprivileged users from other
986+
unprivileged users (requires the opmoderated module).
976987
X <type>:<status> Makes users of <status> or higher exempt to the
977988
specified restriction <type>. For example: flood:h
978989
(requires the exemptchanops module).
990+
Z <name>[=<value>] Add and remove modes via their long names (requires
991+
the namedmodes module).
992+
979993
Possible restriction types to exempt with +X are:
980994

981995
anticaps Channel mode +B
@@ -984,12 +998,14 @@ using their cloak when they quit.
984998
auditorium-vis Permission required to be visible in a +u channel
985999
(requires the auditorium module).
9861000
blockcolor Channel mode +c
1001+
delaymsg Channel mode +d
9871002
filter Channel mode +g
9881003
flood Channel mode +f
9891004
nickflood Channel mode +F
9901005
noctcp Channel mode +C
9911006
nonick Channel mode +N
9921007
nonotice Channel mode +T
1008+
opmoderated Channel mode +U
9931009
regmoderated Channel mode +M
9941010
repeat Channel mode +E
9951011
stripcolor Channel mode +S
@@ -1093,49 +1109,50 @@ setting +I <extban>.
10931109

10941110
Matching extbans:
10951111

1096-
a:<mask> Matches user with both a matching banmask and real name,
1097-
where <mask> is in the format nick!user@host+realname
1098-
(requires realnameban module).
1099-
j:<channel> Matches anyone in the given channel. Does not support
1100-
wildcards (requires the channelban module).
1101-
n:<class> Matches users in a matching connect class (requires
1102-
the classban module).
1103-
r:<realname> Matches users with a matching real name (requires the
1104-
realnameban module).
1105-
s:<server> Matches users on a matching server (requires the
1106-
serverban module).
1107-
z:<tlsfp> Matches users having the given TLS certificate
1108-
fingerprint (requires the sslmodes module).
1109-
w:<gateway> Matches users who are connecting via a WebIRC gateway that
1110-
matches <gateway>.
1111-
O:<opertype> Matches server operators of a matching type, mostly
1112-
useful as an invite exception (requires the
1113-
operchans module).
1114-
R:<account> Matches users logged into a matching account (requires
1115-
the account module).
1116-
U:<banmask> Matches unregistered users matching the given banmask.
1117-
(requires the account module).
1112+
realmask:<mask>, a:<mask> Matches user with both a matching banmask and real name, where
1113+
<mask> is in the format nick!user@host+realname (requires the
1114+
realnameban module).
1115+
channel:<channel>, j:<channel> Matches anyone in the given channel. Supports wildcards
1116+
(requires the channelban module).
1117+
class:<class>, n:<class> Matches users in a matching connect class (requires the
1118+
classban module).
1119+
oper:<pattern>, o:<pattern> Checks whether users are logged into a server operator account
1120+
with a name matching <pattern> (requires the operchans module).
1121+
realname:<realname>, r:<realname> Matches users with a matching real name (requires the
1122+
realnameban module).
1123+
server:<server>, s:<server> Matches users on a matching server (requires the serverban
1124+
module).
1125+
sslfp:<tlsfp>, z:<tlsfp> Matches users having the given TLS certificate fingerprint
1126+
(requires the sslmodes module).
1127+
gateway:<gateway>, w:<gateway> Matches users who are connecting via a WebIRC gateway that
1128+
matches <gateway> (requires the gateway module).
1129+
country:<pattern>, G:<pattern> Matches against the two letter country code for the country
1130+
that users are connecting from (requires the geoban module).
1131+
opertype:<opertype>, O:<opertype> Matches server operators of a matching type, mostly useful as
1132+
an invite exception (requires the operchans module).
1133+
account:<account>, R:<account> Matches users logged into a matching account (requires the
1134+
account module).
1135+
unauthed:<banmask>, U:<banmask> Matches unregistered users matching the given banmask (requires
1136+
the account module).
11181137

11191138
Acting extbans:
11201139

1121-
c:<banmask> Blocks any messages that contain formatting codes from
1122-
matching users (requires the blockcolor module).
1123-
m:<banmask> Blocks messages from matching users (requires the muteban
1124-
module). Users with +v or above are not affected.
1125-
A:<banmask> Blocks invites by matching users even when +A is set
1126-
(requires the allowinvite module).
1127-
B:<banmask> Blocks all capital or nearly all capital messages from
1128-
matching users (requires the blockcaps module).
1129-
C:<banmask> Blocks CTCPs from matching users (requires the noctcp
1130-
module).
1131-
N:<banmask> Blocks nick changes from matching users (requires
1132-
the nonicks module).
1133-
Q:<banmask> Blocks kicks by matching users (requires the nokicks
1134-
module).
1135-
S:<banmask> Strips formatting codes from messages from matching
1136-
users (requires the stripcolor module).
1137-
T:<banmask> Blocks notices from matching users (requires the
1138-
nonotice module).
1140+
blockcolor:<banmask>, c:<banmask> Blocks any messages that contain formatting codes from matching
1141+
users (requires the blockcolor module).
1142+
mute:<banmask>, m:<banmask> Blocks messages from matching users (requires the muteban
1143+
module). Users with +v or above are not affected.
1144+
opmoderated:<banmask>, u:<banmask> Blocks matching users from speaking to unprivileged users in
1145+
the channel (requires the opmoderated module).
1146+
blockinvite:<banmask>, A:<banmask> Blocks invites by matching users even when +A is set (requires
1147+
the allowinvite module).
1148+
noctcp:<banmask>, C:<banmask> Blocks CTCPs from matching users (requires the noctcp module).
1149+
nonick:<banmask>, N:<banmask> Blocks nick changes from matching users (requires the nonicks
1150+
module).
1151+
nokick:<banmask>, Q:<banmask> Blocks kicks by matching users (requires the nokicks module).
1152+
stripcolor:<banmask>, S:<banmask> Strips formatting codes from messages from matching users
1153+
(requires the stripcolor module).
1154+
nonotice:<banmask>, T:<banmask> Blocks notices from matching users (requires the nonotice
1155+
module).
11391156

11401157
A ban given to an Acting extban may either be a nick!user@host mask
11411158
(unless stated otherwise), matched against users as for a normal ban,

docs/conf/inspircd.example.conf

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -690,8 +690,6 @@
690690
# a +u channel (requires the auditorium module).
691691
# - auditorium-vis Permission required to be visible in a +u channel
692692
# (requires the auditorium module).
693-
# - blockcaps Channel mode +B - blocks messages with too many capital
694-
# letters (requires the blockcaps module).
695693
# - blockcolor Channel mode +c - blocks messages with formatting codes
696694
# (requires the blockcolor module).
697695
# - delaymsg Channel mode +d - blocks sending messages until specified
@@ -708,8 +706,12 @@
708706
# changing nicks (requires the nonicks module).
709707
# - nonotice Channel mode +T - blocks /NOTICEs to the channel
710708
# (requires the nonotice module).
709+
# - opmoderated Channel mode +U - hides the messages of unprivileged users
710+
# from other unprivileged users (requires the opmoderated module).
711711
# - regmoderated Channel mode +M - blocks unregistered users from
712712
# speaking (requires the account module).
713+
# - repeat Channel mode +E - allows blocking of similar messages
714+
# (requires the repeat module).
713715
# - stripcolor Channel mode +S - strips formatting codes from
714716
# messages (requires the stripcolor module).
715717
# - topiclock Channel mode +t - limits changing the topic to (half)ops

0 commit comments

Comments
 (0)