summaryrefslogtreecommitdiff
path: root/docs/conf/modules.conf.example
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2019-06-06 16:00:24 +0100
committerPeter Powell <petpow@saberuk.com>2019-06-06 16:01:34 +0100
commit08eee19aff6451171d1c63ecdf9a2c4820bf9da0 (patch)
treed4aaca262f63bba72011372600cff95da4971cfc /docs/conf/modules.conf.example
parent87bbf574bde2149daed9f9967f33ceae13250b70 (diff)
Make messageflood weights configurable.
Also, default TAGMSG to being worth 0.2 NOTICE/PRIVMSG. This should prevent flood kicks from typing notifications. Closes #1649.
Diffstat (limited to 'docs/conf/modules.conf.example')
-rw-r--r--docs/conf/modules.conf.example6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/conf/modules.conf.example b/docs/conf/modules.conf.example
index bb8a74dbc..a2a219444 100644
--- a/docs/conf/modules.conf.example
+++ b/docs/conf/modules.conf.example
@@ -1343,6 +1343,12 @@
# Message flood module: Adds message/notice flood protection via
# channel mode +f.
#<module name="messageflood">
+#
+# The weight to give each message type. TAGMSGs are considered to be
+# 1/5 of a NOTICE or PRIVMSG to avoid users being accidentally flooded
+# out of a channel by automatic client features such as typing
+# notifications.
+#<messageflood notice="1.0" privmsg="1.0" tagmsg="0.2">
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
# MLOCK module: Adds support for server-side enforcement of services