aboutsummaryrefslogtreecommitdiffstats
path: root/docs/conf/modules.conf.example
diff options
context:
space:
mode:
authorGravatar Sadie Powell2023-05-02 14:05:03 +0100
committerGravatar Sadie Powell2023-05-02 14:10:43 +0100
commit906142676eee2f1dbbbd2babaecbd426d12302a6 (patch)
tree8a2adc72d856ab8dde57026ff6c94c863a5418c9 /docs/conf/modules.conf.example
parentAdd the cloak_nick module to cloak based on a nickname. (diff)
Add the cloak_static module to cloak using a fixed value.
Diffstat (limited to 'docs/conf/modules.conf.example')
-rw-r--r--docs/conf/modules.conf.example23
1 files changed, 23 insertions, 0 deletions
diff --git a/docs/conf/modules.conf.example b/docs/conf/modules.conf.example
index bd3dae18a..fea6f64ab 100644
--- a/docs/conf/modules.conf.example
+++ b/docs/conf/modules.conf.example
@@ -717,6 +717,29 @@
# pathparts="1">
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
+# Static cloak module: Adds the "static" (fixed value) cloak method.
+#<module name="cloak_static">
+#
+#-#-#-#-#-#-#-#-#-#- ACCOUNT CLOAK CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
+# To use the cloak_static module you must define a <cloak> tag. This #
+# tag can have the following fields. #
+# #
+# class - If non-empty then a comma-delimited list of connect class #
+# names that a user has to be in to get the cloak from this tag. #
+# #
+# cloak - The cloak to give to users. #
+# #
+# IMPORTANT: Changing these details will break all of your existing #
+# bans. If you do not want this to happen you can define multiple #
+# cloak tags. The first will be used for hostnames and the rest will #
+# be used for checking if a user is banned in a channel. #
+#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
+#
+#<cloak method="static"
+# class=""
+# cloak="some.fixed.value">
+
+#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
# Codepage module: Allows using a custom 8-bit codepage for nicknames
# and case mapping.
#<module name="codepage">