From 0de5151eec78b0f2dc338c703cd2df583b178e6c Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 9 Dec 2022 16:09:38 +0000 Subject: Add support for per-oper/opertype operator MOTDs. --- docs/conf/modules.conf.example | 9 --------- docs/conf/opers.conf.example | 11 +++++++++++ 2 files changed, 11 insertions(+), 9 deletions(-) (limited to 'docs') 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. # -# -#-#-#-#-#-#-#-#-#-#-# 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. # -# # -# #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# # 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. -- cgit v1.3.1-10-gc9f91