aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGravatar Sadie Powell2025-08-31 16:13:30 +0100
committerGravatar Sadie Powell2025-08-31 16:13:30 +0100
commit2b583289dff31310b4a323218aadc7232e25d3fc (patch)
tree6095add8e58199a477278eb244d175deeb744a04 /docs
parentSwitch messageflood to using a per-user flood reset time. (diff)
Add long duration template variables to messageflood and repeat.
Diffstat (limited to 'docs')
-rw-r--r--docs/conf/modules.example.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/conf/modules.example.conf b/docs/conf/modules.example.conf
index 068ac4bdc..a3ae4ff22 100644
--- a/docs/conf/modules.example.conf
+++ b/docs/conf/modules.example.conf
@@ -1645,7 +1645,7 @@
# 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 message="Message flood detected (trigger is %messages% messages in %duration%)"
+#<messageflood message="Message flood detected (trigger is %messages% messages in %duration.long%)"
# extended="yes"
# notice="1.0"
# privmsg="1.0"
@@ -2098,7 +2098,7 @@
# maxtime="0s"
# size="512"
# extended="yes"
-# message="Repeat flood detected (trigger is %lines% messages in %duration%)">
+# message="Repeat flood detected (trigger is %lines% messages in %duration.long%)">
#<module name="repeat">
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#