aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-12-09 16:09:38 +0000
committerGravatar Sadie Powell2022-12-09 16:13:55 +0000
commit0de5151eec78b0f2dc338c703cd2df583b178e6c (patch)
treec93feea8cf8ebcece65c610197aba07919f5369f /docs
parentMerge branch 'insp3' into master. (diff)
Add support for per-oper/opertype operator MOTDs.
Diffstat (limited to 'docs')
-rw-r--r--docs/conf/modules.conf.example9
-rw-r--r--docs/conf/opers.conf.example11
2 files changed, 11 insertions, 9 deletions
diff --git a/docs/conf/modules.conf.example b/docs/conf/modules.conf.example
index e2268776e..a8e55838e 100644
--- a/docs/conf/modules.conf.example
+++ b/docs/conf/modules.conf.example
@@ -1589,15 +1589,6 @@
# on oper-up.
# This module is oper-only.
#<module name="opermotd">
-#
-#-#-#-#-#-#-#-#-#-#-# OPERMOTD CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#
-# #
-# If you are using the opermotd module, specify the motd file here. #
-# #
-# onoper - If on, the message is sent on /OPER, otherwise it's #
-# only sent when /OPERMOTD is used. #
-# #
-#<opermotd file="examples/opermotd.txt.example" onoper="yes">
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
# Override module: Adds support for oper override.
diff --git a/docs/conf/opers.conf.example b/docs/conf/opers.conf.example
index 12b2e69e8..6096642ce 100644
--- a/docs/conf/opers.conf.example
+++ b/docs/conf/opers.conf.example
@@ -87,6 +87,17 @@
# maxchans: Maximum number of channels opers of this type can be in at once.
maxchans="60"
+ # motd: The server operator MOTD that this should be shown to this
+ # operator type. This can be viewed with /OPERMOTD or automatically
+ # on login if automotd (see below) is enabled.
+ # Requires the opermotd module to be loaded.
+ motd="examples/opermotd.txt.example"
+
+ # automotd: Whether to send the server operator MOTD (see above)
+ # to operators of this type when they log in.
+ # Requires the opermotd module to be loaded.
+ automotd="yes"
+
# modes: User modes besides +o that are set on an oper of this type
# when they oper up. Used for snomasks and other things.
# Requires the opermodes module to be loaded.