summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMatt Schatz <genius3000@g3k.solutions>2019-04-02 00:11:27 -0600
committerPeter Powell <petpow@saberuk.com>2019-04-03 13:29:22 +0100
commit66ecf04088b747c00e7fdf8380fbece7848018be (patch)
tree33982dbfebd89ed661147656bce3aa31f5daad14 /docs
parent15b93b6c20fff37e02e3862dff742054e652ff2a (diff)
Merge extras/m_privdeaf into m_deaf and update documentation.
- Merge the 2.0 extras module m_privdeaf (usermode +D for deaf to user messages and notices) as they have a similar purpose. - Improve the channel deaf logic where a known case of bypassing still looped the channel userlist building an empty exemption list. - Improve the comments within the code. - Update the documentation with the previously undocumented configuration to deaf and the new privdeaf configuration.
Diffstat (limited to 'docs')
-rw-r--r--docs/conf/helpop.conf.example2
-rw-r--r--docs/conf/modules.conf.example19
-rw-r--r--docs/conf/opers.conf.example1
3 files changed, 20 insertions, 2 deletions
diff --git a/docs/conf/helpop.conf.example b/docs/conf/helpop.conf.example
index f8689c7b4..4f3008c07 100644
--- a/docs/conf/helpop.conf.example
+++ b/docs/conf/helpop.conf.example
@@ -853,6 +853,8 @@ using their cloak when they quit.">
z Only allow private messages from SSL users (requires the
sslmode module).
B Marks as a bot (requires the botmode module).
+ D Privdeaf mode. User will not receive any private messages
+ or notices from users (requires the deaf module).
G Censors messages sent to the user based on filters
configured for the network (requires the censor module).
H Hides an oper's oper status from WHOIS (requires the
diff --git a/docs/conf/modules.conf.example b/docs/conf/modules.conf.example
index bfad0cc17..9732f36c5 100644
--- a/docs/conf/modules.conf.example
+++ b/docs/conf/modules.conf.example
@@ -719,9 +719,24 @@
#<banfile pattern="*.txt" action="allow">
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
-# Deaf module: Adds support for the usermode +d - deaf to channel
-# messages and channel notices.
+# Deaf module: Adds support for the usermodes +dD:
+# d - deaf to channel messages and notices.
+# D - deaf to user messages and notices.
+# The +D user mode is not enabled by default to enable link compatibility
+# with 2.0 servers.
#<module name="deaf">
+#
+#-#-#-#-#-#-#-#-#-#-#-#- DEAF CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#-#
+# bypasschars - Characters that bypass deaf to a regular user.
+# bypasscharsuline - Characters that bypass deaf to a U-lined user (services).
+# Both of these take a list of characters that must match
+# the starting character of a message.
+# If 'bypasscharsuline' is empty, then 'bypasschars' will
+# match for both regular and U-lined users.
+# enableprivdeaf - Whether to enable usermode +D (privdeaf).
+# privdeafuline - Whether U-lined users bypass usermode +D (privdeaf).A
+#
+#<deaf bypasschars="" bypasscharsuline="!" enableprivdeaf="no" privdeafuline="yes">
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
# Delay join module: Adds the channel mode +D which delays all JOIN
diff --git a/docs/conf/opers.conf.example b/docs/conf/opers.conf.example
index 5e813c4ba..62e2399e6 100644
--- a/docs/conf/opers.conf.example
+++ b/docs/conf/opers.conf.example
@@ -36,6 +36,7 @@
# - users/callerid-override: allows opers with this priv to message people using callerid without being on their callerid list.
# - users/ignore-commonchans: allows opers with this priv to send a message to a +c user without sharing common channels.
# - users/ignore-noctcp: allows opers with this priv to send a CTCP to a +T user.
+ # - users/privdeaf-override: allows opers with this priv to message users with +D set.
# - users/sajoin-others: allows opers with this priv to /SAJOIN users other than themselves.
# - servers/use-disabled-commands: allows opers with this priv to use disabled commands.
# - servers/use-disabled-modes: allows opers with this priv to use disabled modes.