diff options
| author | Adam <Adam@anope.org> | 2016-08-27 12:28:27 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2016-08-27 12:28:27 -0400 |
| commit | c4ebf02bce968e4846a0be72dfa7b104f21f5166 (patch) | |
| tree | 2b38b5c06b0136411f7f7ca236fa08108ba84301 /data | |
| parent | 26e158addf18ff61b99dc70a407b22682e6a421d (diff) | |
Optionally allow using Boost.Locale for hashcomp
Diffstat (limited to 'data')
| -rw-r--r-- | data/anope.example.conf | 45 |
1 files changed, 25 insertions, 20 deletions
diff --git a/data/anope.example.conf b/data/anope.example.conf index e75b01e74..7724c8125 100644 --- a/data/anope.example.conf +++ b/data/anope.example.conf @@ -357,6 +357,31 @@ options #group = "anope" /* + * Chooses the configuration file used to configure casemaps for Anope. + * Anope uses this case map to compare, with case insensitivity, + * nick names and channel names. + * + * Two casemaps shipped with Anope are ascii and rfc1459. + * + * You may create your own instead by defining casemapping directives + * similar to how ascii.conf and rfc1459.conf do. However, they are + * limited to single byte characters only. + * + * Alternatively, if you have Boost.Locale installed, instead of configuring + * a casemapping configuration file, you may configure a locale name. This + * can support variable-length character encodings like utf-8. + * + * The casemapping you use should be set to what your IRCd uses, which is + * probably rfc1459. However, Anope has always used ascii for comparison, + * so the default is ascii. + * + * Changing this value once set is not recommended. + */ + casemap = "ascii" + #casemap = "rfc1459" + #locale = "utf-8" + + /* * This key is used to initiate the random number generator. This number * MUST be random as you want your passcodes to be random. Don't give this * key to anyone! Keep it private! @@ -520,26 +545,6 @@ options } /* - * [REQUIRED] Casemapping configuration - * - * Includes the configuration for the casemap services should use. - * Anope uses this case map to compare, with case insensitivity, - * things such as nick names, channel names, etc. - * - * Two casemaps shipped with Anope are ascii and rfc1459. - * - * This value should be set to what your IRCd uses, which is probably rfc1459, - * however Anope has always used ascii for comparison, so the default is ascii. - * - * Changing this value once set is not recommended. - */ -include -{ - name = "ascii.conf" - #name = "rfc1459.conf" -} - -/* * [OPTIONAL] BotServ * * Includes botserv.example.conf, which is necessary for BotServ functionality. |
