From 25f2f7f3e8e04ecb341aab7d75dfda6724670eda Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Thu, 13 Oct 2016 08:41:57 +0100 Subject: Rework the example services aliases. - Split common stuff into a generic configuration file. - Reserve all nicknames used by services by default. - Exempt all services clients from filtering. - Add missing aliases for services pseudoclients. --- docs/conf/aliases/anope.conf.example | 20 ------------- docs/conf/aliases/atheme.conf.example | 25 ---------------- docs/conf/inspircd.conf.example | 20 +++++++++---- docs/conf/modules.conf.example | 15 +--------- docs/conf/services/anope.conf.example | 9 ++++++ docs/conf/services/atheme.conf.example | 52 +++++++++++++++++++++++++++++++++ docs/conf/services/generic.conf.example | 45 ++++++++++++++++++++++++++++ 7 files changed, 122 insertions(+), 64 deletions(-) delete mode 100644 docs/conf/aliases/anope.conf.example delete mode 100644 docs/conf/aliases/atheme.conf.example create mode 100644 docs/conf/services/anope.conf.example create mode 100644 docs/conf/services/atheme.conf.example create mode 100644 docs/conf/services/generic.conf.example (limited to 'docs') diff --git a/docs/conf/aliases/anope.conf.example b/docs/conf/aliases/anope.conf.example deleted file mode 100644 index 4d1441473..000000000 --- a/docs/conf/aliases/anope.conf.example +++ /dev/null @@ -1,20 +0,0 @@ -# Aliases for nickserv, chanserv, operserv, memoserv, hostserv, botserv - - - - - - - -# Shorthand aliases for nickserv, chanserv, operserv, memoserv, hostserv, botserv - - - - - - - -# /id [account] -# Identify for a nickname - - diff --git a/docs/conf/aliases/atheme.conf.example b/docs/conf/aliases/atheme.conf.example deleted file mode 100644 index 7a0bc015a..000000000 --- a/docs/conf/aliases/atheme.conf.example +++ /dev/null @@ -1,25 +0,0 @@ -# Aliases for nickserv, chanserv, operserv, memoserv - - - - - - - - - -# Shorthand aliases for nickserv, chanserv, operserv, memoserv - - - - - - - - - -# /id [channel] -# Identify for a channel or nickname - - - diff --git a/docs/conf/inspircd.conf.example b/docs/conf/inspircd.conf.example index e7eea0210..3f545e567 100644 --- a/docs/conf/inspircd.conf.example +++ b/docs/conf/inspircd.conf.example @@ -867,11 +867,7 @@ nick="ChanServ" # reason: Reason to display on /nick. - reason="Reserved For Services"> - - - - + reason="Reserved for a network service"> +#-#-#-#-#-#-#-#-#-#-#-# SERVICES CONFIGURATION #-#-#-#-#-#-#-#-#-#-#-# +# # +# If you use services you will probably want to include one of the # +# following files which set up aliases, nick reservations and filter # +# exemptions for services pseudoclients: # +# +# Anope users should uncomment this: +# +# +# Atheme users should uncomment this: +# +# +# Users of other services should uncomment this: +# ######################################################################### # # diff --git a/docs/conf/modules.conf.example b/docs/conf/modules.conf.example index 5aa5bb158..020a15ded 100644 --- a/docs/conf/modules.conf.example +++ b/docs/conf/modules.conf.example @@ -135,18 +135,6 @@ # If a non-oper attempts to use the alias, it will # # appear to not exist. # # # -# -# -# -# -# -# -# -# -# -# -# -# # # An example of using the format value to create an alias with two # different behaviours depending on the format of the parameters. @@ -159,8 +147,7 @@ # # This alias fixes a glitch in xchat 2.6.x and above and the way it # assumes IDENTIFY must be prefixed by a colon (:) character. It should -# be placed ABOVE the default NICKSERV alias (the first example) listed -# above. +# be placed ABOVE the default NICKSERV alias. # # diff --git a/docs/conf/services/anope.conf.example b/docs/conf/services/anope.conf.example new file mode 100644 index 000000000..603bb538d --- /dev/null +++ b/docs/conf/services/anope.conf.example @@ -0,0 +1,9 @@ +# This file contains aliases and nickname reservations which are used +# by Anope. See https://www.anope.org/ for more information on Anope. + +# This file inherits from the generic config to avoid repetition. + + +# /GLOBAL +# Sends a global notice. + diff --git a/docs/conf/services/atheme.conf.example b/docs/conf/services/atheme.conf.example new file mode 100644 index 000000000..dae1dfce2 --- /dev/null +++ b/docs/conf/services/atheme.conf.example @@ -0,0 +1,52 @@ +# This file contains aliases and nickname reservations which are used +# by Atheme. See http://atheme.net for more information on Atheme. + +# This file inherits from the generic config to avoid repetition. + + +# 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. + + + + + + + + + + +# Exempt services pseudoclients from filters. + + + + + + + + + diff --git a/docs/conf/services/generic.conf.example b/docs/conf/services/generic.conf.example new file mode 100644 index 000000000..6904d31d8 --- /dev/null +++ b/docs/conf/services/generic.conf.example @@ -0,0 +1,45 @@ +# This file contains aliases and nickname reservations which are used +# by all common services implementations. + +# Long hand aliases for services pseudoclients. + + + + + + + + +# Short hand aliases for services pseudoclients. + + + + + + + + +# /ID [account] +# Identifies to a services account. + + + +# Prevent clients from using the nicknames of services pseudoclients. + + + + + + + + + +# Exempt services pseudoclients from filters. + + + + + + + + -- cgit v1.3.1-10-gc9f91