From f5564849d2480ed3d868ed16b611237a3c21be9f Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 11 Oct 2024 21:00:00 +0100 Subject: [PATCH] Use PRIVMSG instead of SQUERY in the example aliases. We can guarantee that the target is a service here so it doesn't make sense to use SQUERY. --- docs/conf/modules.example.conf | 6 ++-- docs/conf/services/atheme.example.conf | 32 ++++++++++---------- docs/conf/services/generic.example.conf | 40 ++++++++++++------------- 3 files changed, 39 insertions(+), 39 deletions(-) diff --git a/docs/conf/modules.example.conf b/docs/conf/modules.example.conf index e174b00f7..3bd950f73 100644 --- a/docs/conf/modules.example.conf +++ b/docs/conf/modules.example.conf @@ -118,10 +118,10 @@ # An example of using the format value to create an alias with two # different behaviours depending on the format of the parameters. # -# # -# # # You may also add aliases to trigger based on something said in a @@ -130,7 +130,7 @@ # command must be preceded by the fantasy prefix when used. # # +# replace="PRIVMSG ChanServ :$1 $chan $2-" requires="ChanServ" service="yes"> # # This would be used as "!cs ", with the channel # being automatically inserted after the command in the message to diff --git a/docs/conf/services/atheme.example.conf b/docs/conf/services/atheme.example.conf index 507ec7c8b..1f5883239 100644 --- a/docs/conf/services/atheme.example.conf +++ b/docs/conf/services/atheme.example.conf @@ -6,27 +6,27 @@ # Long hand aliases for services pseudoclients. - - - - - - - - + + + + + + + + # Short hand aliases for services pseudoclients. - - - - - - + + + + + + # These short hand aliases conflict with other pseudoclients. You can enable # them but you will need to comment out the uncommented ones above first, -# -# +# +# # Prevent clients from using the nicknames of services pseudoclients. diff --git a/docs/conf/services/generic.example.conf b/docs/conf/services/generic.example.conf index 7adf5d5be..649dd4b49 100644 --- a/docs/conf/services/generic.example.conf +++ b/docs/conf/services/generic.example.conf @@ -4,34 +4,34 @@ # Long hand aliases for services pseudoclients. - - - - - - - - + + + + + + + + # Short hand aliases for services pseudoclients. - - - - - - - - + + + + + + + + # /ID [account] # Identifies to a services account. - - - + + + # /LOGOUT # Logs out of a services account. - + # Prevent clients from using the nicknames of services pseudoclients.