From 66ecf04088b747c00e7fdf8380fbece7848018be Mon Sep 17 00:00:00 2001 From: Matt Schatz Date: Tue, 2 Apr 2019 00:11:27 -0600 Subject: 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. --- docs/conf/helpop.conf.example | 2 ++ docs/conf/modules.conf.example | 19 +++++++++++++++++-- docs/conf/opers.conf.example | 1 + 3 files changed, 20 insertions(+), 2 deletions(-) (limited to 'docs') 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 @@ # #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# -# 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. # +# +#-#-#-#-#-#-#-#-#-#-#-#- 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 +# +# #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# # 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. -- cgit v1.3.1-10-gc9f91