From 31a65697a38c86e47fff4b616ecb7f6df65a7e8f Mon Sep 17 00:00:00 2001 From: James Lu Date: Sat, 20 Oct 2018 12:30:19 -0700 Subject: [PATCH] example-conf: document the ban_style option --- example-conf.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/example-conf.yml b/example-conf.yml index 1d1d0e1..6c78682 100644 --- a/example-conf.yml +++ b/example-conf.yml @@ -46,6 +46,14 @@ pylink: # be merged into that of the main PyLink service bot. #spawn_services: true + # Determines the default ban style that PyLink should use for setting bans (e.g. in Antispam) + # $ident, $host, $realhost, $ip, and $nick are among the supported substitutions here. + # This defaults to "*!*@$host" if not set. + # You should take extra caution that 1) the resulting mask is a valid nick!user@host + # 2) generated bans actually match the target user + #ban_style: "*!*@$host" + #ban_style: "*!$ident@$host" # A possible alternative + # Defines extra directories to look up plugins and protocol modules in. # Environment variables (e.g. $HOME) and home folders (~) are expanded here, in that order. #plugin_dirs: ["~/my-plugins", "~/pylink-contrib-modules/plugins"]