atheme/templates/atheme.conf.j2
author Luke Hoersten <luke@hoersten.org>
Sat, 04 Jul 2020 17:48:36 -0500
changeset 116 837cf4c1b717
parent 113 d843011c249d
permissions -rw-r--r--
updated irc settings.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
113
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     1
/* This is an example configuration for Services.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     2
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     3
 * All statements end in semi-colons (';').
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     4
 * Shell style, C style, and C++ style comments may be used.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     5
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     6
 * Items marked with "(*)" are reconfigurable at runtime via REHASH.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     7
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     8
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     9
/******************************************************************************
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    10
 * MODULES SECTION.                                                           *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    11
 ******************************************************************************/
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    12
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    13
/*
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    14
 * These are the modules included with the core distribution of Services.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    15
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    16
 * You may be interested in the atheme community modules distribution as
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    17
 * well, which adds additional features that may or may not be compatible
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    18
 * with the project paradigms intended for maintainance of the core of
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    19
 * atheme-services.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    20
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    21
 * Visit the atheme-services website for more information and to download them.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    22
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    23
 * Modules marked [experimental] will taint your atheme-services instance. Do
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    24
 * not file any bug reports with us about using Services with those modules;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    25
 * they will be ignored.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    26
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    27
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    28
/* Dynamic security modules.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    29
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    30
 * WARNING: If you select one of these modules, the default security policy included
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    31
 * with Atheme may break.  These modules are intended for people who know what they
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    32
 * are doing and understand the implications of what they do.  Security modules which
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    33
 * are likely to break the default policy are prefixed with [!], if you are new to
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    34
 * Atheme, you should avoid enabling them.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    35
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    36
 * If you find your security policy is broken, you may debug it while allowing normal
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    37
 * operation of your IRC network by putting Atheme into "permissive mode".  To do this,
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    38
 * enable general::permissive_mode.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    39
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    40
 * [!] Infer "command:" namespace permissions   modules/security/cmdperm
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    41
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    42
#loadmodule "modules/security/cmdperm";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    43
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    44
/* Protocol module.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    45
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    46
 * Please select a protocol module. Different servers use different protocols.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    47
 * Below is a listing of ircd's known to work with the various protocol modules
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    48
 * available.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    49
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    50
 * Asuka 1.2.1 or later                         modules/protocol/asuka
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    51
 * Bahamut 2.1.x                                modules/protocol/bahamut
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    52
 * Charybdis IRCd                               modules/protocol/charybdis
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    53
 * ChatIRCd                                     modules/protocol/chatircd1.1
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    54
 * DreamForge 4.6.7 or later                    modules/protocol/dreamforge
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    55
 * InspIRCd 2.0                                 modules/protocol/inspircd
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    56
 * ircd-ratbox 2.0 and later                    modules/protocol/ratbox
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    57
 * IRCNet ircd (ircd 2.11)                      modules/protocol/ircnet
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    58
 * ircd-seven                                   modules/protocol/ircd-seven
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    59
 * Nefarious IRCu 0.4.0 or later                modules/protocol/nefarious
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    60
 * ngIRCd 19 or later [experimental]            modules/protocol/ngircd
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    61
 * UnrealIRCd 3.2.*                             modules/protocol/unreal
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    62
 * UnrealIRCd 4 or later                        modules/protocol/unreal4
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    63
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    64
 * If your IRCd vendor has supplied a module file, build it and load it here
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    65
 * instead of one above.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    66
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    67
loadmodule "modules/protocol/ngircd";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    68
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    69
/* Protocol mixins.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    70
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    71
 * These should be used if you do not have/want certain features on your
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    72
 * network that your ircd normally has. If you do not know what this means,
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    73
 * you do not need any of them.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    74
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    75
 * Disable halfops                              modules/protocol/mixin_nohalfops
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    76
 * Disable holdnick (use enforcer clients)      modules/protocol/mixin_noholdnick
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    77
 * Disable "protect" mode on channels           modules/protocol/mixin_noprotect
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    78
 * Disable "owner" mode on channels             modules/protocol/mixin_noowner
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    79
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    80
#loadmodule "modules/protocol/mixin_nohalfops";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    81
#loadmodule "modules/protocol/mixin_noholdnick";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    82
#loadmodule "modules/protocol/mixin_noprotect";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    83
#loadmodule "modules/protocol/mixin_noowner";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    84
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    85
/* Database backend module.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    86
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    87
 * Please select a database backend module. Different backends allow for
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    88
 * different ways in which the services data can be manipulated. YOU MAY
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    89
 * ONLY HAVE ONE OF THESE BACKENDS LOADED.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    90
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    91
 * The following backends are available:
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    92
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    93
 * Atheme 0.1 flatfile database format          modules/backend/flatfile
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    94
 * Open Services Exchange database format       modules/backend/opensex
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    95
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    96
 * Most networks will want opensex.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    97
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    98
loadmodule "modules/backend/opensex";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    99
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   100
/* Password hashing modules.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   101
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   102
 * If you would like encryption for your services passwords, or to migrate
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   103
 * from another IRC services package which used encryption for its passwords,
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   104
 * please select a module here.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   105
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   106
 * The following encryption-capable crypto modules are available:
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   107
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   108
 *   Argon2 (Password Hashing Competition 2015)    modules/crypto/argon2
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   109
 *   scrypt (Tarsnap Online Backup Service)        modules/crypto/scrypt
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   110
 *   PBKDF2 (Including support for SASL SCRAM-SHA) modules/crypto/pbkdf2v2
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   111
 *   bcrypt (EksBlowfish; from Niels Provos etc.)  modules/crypto/bcrypt
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   112
 *   SHA2-512 crypt(3) a la '$6$...'               modules/crypto/crypt3-sha2-512
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   113
 *   SHA2-256 crypt(3) a la '$5$...'               modules/crypto/crypt3-sha2-256
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   114
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   115
 * If you do not load an encryption-capable crypto module, some features will
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   116
 * not work correctly, and errors will be logged on e.g. user registration
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   117
 * that it was not possible to encrypt their password. Support for running
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   118
 * without an encryption-capable crypto module will be removed in a later
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   119
 * version of this software; for now it is just *HIGHLY* discouraged.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   120
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   121
 * Note, that upon starting with an encryption-capable crypto module, YOUR
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   122
 * UNENCRYPTED PASSWORDS ARE IMMEDIATELY AND *IRREVERSIBLY* CONVERTED. Make
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   123
 * at least TWO backups of your database before experimenting with this. If
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   124
 * you have several thousand accounts, this conversion may take a long time.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   125
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   126
 * The following modules can only be used to /verify/ existing encrypted
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   127
 * passwords, for example when upgrading from an older version of this
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   128
 * software, or migrating from something else:
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   129
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   130
 *   PBKDF2 v1 (Atheme <= 7.2 compatibility)       modules/crypto/pbkdf2
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   131
 *   Raw SHA2-512                                  modules/crypto/rawsha2-512
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   132
 *   Raw SHA2-256                                  modules/crypto/rawsha2-256
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   133
 *   Anope SHA2-256 (Anope 2.0 compatibility)      modules/crypto/anope-enc-sha256
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   134
 *   Raw SHA1 (Anope ~1.8 compatibility)           modules/crypto/rawsha1
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   135
 *   Raw MD5 (Anope ~1.8 compatibility)            modules/crypto/rawmd5
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   136
 *   IRCServices (+ Anope) compatibility           modules/crypto/ircservices
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   137
 *   MD5 crypt(3) (Atheme Linux compatibility)     modules/crypto/crypt3-md5
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   138
 *   DES crypt(3) (Atheme OS X compatibility)      modules/crypto/crypt3-des
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   139
 *   Base64 (Anope ~1.8 compatibility)             modules/crypto/base64
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   140
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   141
 * To transition between crypto schemes, load the preferred scheme first,
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   142
 * and as users login or set new passwords, they will be migrated to the new
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   143
 * preferred scheme. Like so:
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   144
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   145
 * loadmodule "modules/crypto/argon2";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   146
 * loadmodule "modules/crypto/scrypt";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   147
 * loadmodule "modules/crypto/pbkdf2v2";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   148
 * loadmodule "modules/crypto/pbkdf2";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   149
 * loadmodule "modules/crypto/crypt3-md5";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   150
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   151
 * The Argon2 module requires the argon2 reference library (./configure
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   152
 * --with-argon2) and is *NOT* available in Atheme v7.2 or earlier. If you
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   153
 * wish to use this module while retaining the possibility to downgrade to
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   154
 * v7.2, please see the crypto {} documentation below.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   155
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   156
 * The Scrypt module requires libsodium (./configure --with-libsodium) and is
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   157
 * *NOT* available in Atheme v7.2 or earlier. This module may also require a
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   158
 * 64-bit Operating System to function correctly.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   159
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   160
 * The PBKDF2v2 module has no dependencies and is recommended. If you were
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   161
 * previously using the PBKDF2 v1 module on v7.2, you must still keep it in
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   162
 * the configuration here; the PBKDF2 v2 module cannot verify its password
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   163
 * hashes. However, you should also load PBKDF2 v2 (if you don't decide to use
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   164
 * anything else), because the PBKDF2 v1 module is now verify-only.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   165
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   166
 * The bcrypt module will truncate passwords greater than 72 characters. It is
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   167
 * also capable of verifying the older $2a$ digests that contain an integer
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   168
 * wrap-around bug, as used on e.g. Anope. It is not capable of verifying the
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   169
 * PHP-bcrypt $2x$ and $2y$ digests; but $2y$ can simply be changed to $2b$.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   170
 * All successfully-verified passwords not using $2b$ will be converted to it.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   171
 * This is an encryption-capable module, but its use is discouraged unless you
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   172
 * need to use it for interoperability with some other piece of software.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   173
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   174
 * The crypt3-* modules depend on your platform crypt(3) supporting the
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   175
 * respective algorithms. This is not guaranteed to be the case. If you used
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   176
 * modules/crypto/posix on Linux, you need crypt3-md5. If you used
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   177
 * modules/crypto/posix on OS X, you need crypt3-des. These modules issue
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   178
 * informational messages when loaded to the effect that they might break in
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   179
 * the future. They also run selftests on load to verify that they will work.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   180
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   181
 * All available modules are listed below, in the preferred load order. The
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   182
 * modules that are commented out are not available by default (please see
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   183
 * the v7.3 release notes in NEWS.md) or may require a third-party library to
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   184
 * use. If you know that you do not need a specific module, it is better to
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   185
 * not load it, so comment it out. Do not change the order of the modules
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   186
 * below unless you need to migrate from one to the other (as described
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   187
 * above); in particular, putting verify-only modules above encryption-
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   188
 * capable modules would be a waste of CPU time every time password
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   189
 * verification for a user whose password was not encrypted by them is
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   190
 * attempted.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   191
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   192
 * Comments that start with -- describe the ./configure option necessary to
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   193
 * have this module built.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   194
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   195
#loadmodule "modules/crypto/argon2";            /* --with-argon2 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   196
#loadmodule "modules/crypto/scrypt";            /* --with-sodium */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   197
loadmodule "modules/crypto/pbkdf2v2";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   198
#loadmodule "modules/crypto/bcrypt";            /* See notes above */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   199
loadmodule "modules/crypto/pbkdf2";             /* Verify-only, see prev. */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   200
#loadmodule "modules/crypto/crypt3-sha2-512";   /* Needs crypt(3) support */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   201
#loadmodule "modules/crypto/crypt3-sha2-256";   /* Needs crypt(3) support */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   202
#loadmodule "modules/crypto/crypt3-md5";        /* --enable-legacy-pwcrypto */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   203
#loadmodule "modules/crypto/rawsha2-512";       /* --enable-legacy-pwcrypto */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   204
#loadmodule "modules/crypto/rawsha2-256";       /* --enable-legacy-pwcrypto */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   205
#loadmodule "modules/crypto/anope-enc-sha256";  /* --enable-legacy-pwcrypto */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   206
#loadmodule "modules/crypto/rawsha1";           /* --enable-legacy-pwcrypto */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   207
#loadmodule "modules/crypto/rawmd5";            /* --enable-legacy-pwcrypto */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   208
#loadmodule "modules/crypto/ircservices";       /* --enable-legacy-pwcrypto */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   209
#loadmodule "modules/crypto/crypt3-des";        /* --enable-legacy-pwcrypto */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   210
#loadmodule "modules/crypto/base64";            /* --enable-legacy-pwcrypto */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   211
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   212
/* Authentication module.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   213
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   214
 * These allow using passwords from an external system. The password given
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   215
 * when registering a new account is also checked against the external
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   216
 * system.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   217
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   218
 * The following authentication modules are available:
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   219
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   220
 * LDAP                                         modules/auth/ldap
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   221
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   222
 * The LDAP module requires OpenLDAP client libraries. It uses them in a
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   223
 * synchronous manner, which means that an unresponsive LDAP server can
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   224
 * freeze services.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   225
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   226
#loadmodule "modules/auth/ldap";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   227
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   228
/* NickServ modules.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   229
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   230
 * Here you can disable or enable certain features of NickServ, by
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   231
 * defining which modules are loaded. You can even disable NickServ
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   232
 * entirely. Please note however, that an authentication service
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   233
 * (either NickServ, or UserServ) is required for proper functionality.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   234
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   235
 * Core components                              modules/nickserv/main
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   236
 * Nickname access lists                        modules/nickserv/access
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   237
 * Bad email address blocking                   modules/nickserv/badmail
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   238
 * CertFP fingerprint managment                 modules/nickserv/cert
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   239
 * DROP command                                 modules/nickserv/drop
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   240
 * Nickname enforcement                         modules/nickserv/enforce
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   241
 * GHOST command                                modules/nickserv/ghost
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   242
 * GROUP and UNGROUP commands                   modules/nickserv/group
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   243
 * HELP command                                 modules/nickserv/help
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   244
 * Nickname expiry override (HOLD command)      modules/nickserv/hold
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   245
 * IDENTIFY command                             modules/nickserv/identify
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   246
 * INFO command                                 modules/nickserv/info
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   247
 * Last quit message in INFO                    modules/nickserv/info_lastquit
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   248
 * LIST command                                 modules/nickserv/list
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   249
 * LISTLOGINS command                           modules/nickserv/listlogins
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   250
 * LISTMAIL command                             modules/nickserv/listmail
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   251
 * LISTOWNMAIL command                          modules/nickserv/listownmail
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   252
 * LOGIN command (for no_nick_ownership)        modules/nickserv/login
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   253
 * LOGOUT command                               modules/nickserv/logout
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   254
 * MARK command                                 modules/nickserv/mark
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   255
 * Password quality validation                  modules/nickserv/pwquality
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   256
 * FREEZE command                               modules/nickserv/freeze
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   257
 * LISTCHANS command                            modules/nickserv/listchans
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   258
 * LISTGROUPS command                           modules/nickserv/listgroups
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   259
 * REGISTER command                             modules/nickserv/register
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   260
 * Bypass registration limits (REGNOLIMIT)      modules/nickserv/regnolimit
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   261
 * Password reset (RESETPASS command)           modules/nickserv/resetpass
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   262
 * RESTRICT command                             modules/nickserv/restrict
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   263
 * Password return (RETURN command)             modules/nickserv/return
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   264
 * Password retrieval (SENDPASS command)        modules/nickserv/sendpass
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   265
 * Password retrieval allowed to normal users   modules/nickserv/sendpass_user
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   266
 * Change primary nickname (SET ACCOUNTNAME)    modules/nickserv/set_accountname
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   267
 * SET EMAIL command                            modules/nickserv/set_email
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   268
 * SET EMAILMEMOS command                       modules/nickserv/set_emailmemos
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   269
 * SET ENFORCETIME command                      modules/nickserv/set_enforcetime
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   270
 * SET HIDEMAIL command                         modules/nickserv/set_hidemail
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   271
 * SET LANGUAGE command                         modules/nickserv/set_language
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   272
 * SET NEVERGROUP command                       modules/nickserv/set_nevergroup
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   273
 * SET NEVEROP command                          modules/nickserv/set_neverop
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   274
 * SET NOGREET command                          modules/nickserv/set_nogreet
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   275
 * SET NOMEMO command                           modules/nickserv/set_nomemo
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   276
 * SET NOOP command                             modules/nickserv/set_noop
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   277
 * SET NOPASSWORD command                       modules/nickserv/set_nopassword
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   278
 * SET PASSWORD command                         modules/nickserv/set_password
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   279
 * PRIVMSG instead of NOTICE (SET PRIVMSG cmd)  modules/nickserv/set_privmsg
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   280
 * Account info hiding (SET PRIVATE command)    modules/nickserv/set_private
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   281
 * SET PROPERTY command                         modules/nickserv/set_property
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   282
 * SET PUBKEY command                           modules/nickserv/set_pubkey
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   283
 * SET QUIETCHG command                         modules/nickserv/set_quietchg
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   284
 * Password retrieval uses code (SETPASS cmd)   modules/nickserv/setpass
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   285
 * STATUS command                               modules/nickserv/status
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   286
 * Nickname metadata viewer (TAXONOMY command)  modules/nickserv/taxonomy
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   287
 * VACATION command                             modules/nickserv/vacation
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   288
 * VERIFY command                               modules/nickserv/verify
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   289
 * VHOST command                                modules/nickserv/vhost
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   290
 * Delay services account registrations         modules/nickserv/waitreg
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   291
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   292
loadmodule "modules/nickserv/main";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   293
#loadmodule "modules/nickserv/access";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   294
loadmodule "modules/nickserv/badmail";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   295
#loadmodule "modules/nickserv/cert";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   296
loadmodule "modules/nickserv/drop";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   297
#loadmodule "modules/nickserv/enforce";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   298
loadmodule "modules/nickserv/ghost";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   299
loadmodule "modules/nickserv/group";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   300
loadmodule "modules/nickserv/help";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   301
loadmodule "modules/nickserv/hold";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   302
loadmodule "modules/nickserv/identify";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   303
loadmodule "modules/nickserv/info";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   304
#loadmodule "modules/nickserv/info_lastquit";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   305
loadmodule "modules/nickserv/list";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   306
#loadmodule "modules/nickserv/listlogins";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   307
loadmodule "modules/nickserv/listmail";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   308
#loadmodule "modules/nickserv/listownmail";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   309
#loadmodule "modules/nickserv/login";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   310
loadmodule "modules/nickserv/logout";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   311
loadmodule "modules/nickserv/mark";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   312
#loadmodule "modules/nickserv/pwquality";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   313
loadmodule "modules/nickserv/freeze";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   314
loadmodule "modules/nickserv/listchans";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   315
loadmodule "modules/nickserv/listgroups";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   316
loadmodule "modules/nickserv/register";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   317
loadmodule "modules/nickserv/regnolimit";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   318
loadmodule "modules/nickserv/resetpass";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   319
loadmodule "modules/nickserv/restrict";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   320
loadmodule "modules/nickserv/return";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   321
loadmodule "modules/nickserv/setpass";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   322
#loadmodule "modules/nickserv/sendpass";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   323
loadmodule "modules/nickserv/sendpass_user";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   324
loadmodule "modules/nickserv/set_accountname";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   325
loadmodule "modules/nickserv/set_email";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   326
loadmodule "modules/nickserv/set_emailmemos";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   327
#loadmodule "modules/nickserv/set_enforcetime";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   328
loadmodule "modules/nickserv/set_hidemail";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   329
loadmodule "modules/nickserv/set_language";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   330
loadmodule "modules/nickserv/set_nevergroup";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   331
loadmodule "modules/nickserv/set_neverop";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   332
loadmodule "modules/nickserv/set_nogreet";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   333
loadmodule "modules/nickserv/set_nomemo";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   334
loadmodule "modules/nickserv/set_noop";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   335
#loadmodule "modules/nickserv/set_nopassword";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   336
loadmodule "modules/nickserv/set_password";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   337
#loadmodule "modules/nickserv/set_privmsg";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   338
#loadmodule "modules/nickserv/set_private";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   339
loadmodule "modules/nickserv/set_property";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   340
loadmodule "modules/nickserv/set_pubkey";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   341
loadmodule "modules/nickserv/set_quietchg";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   342
loadmodule "modules/nickserv/status";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   343
loadmodule "modules/nickserv/taxonomy";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   344
loadmodule "modules/nickserv/vacation";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   345
loadmodule "modules/nickserv/verify";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   346
loadmodule "modules/nickserv/vhost";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   347
#loadmodule "modules/nickserv/waitreg";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   348
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   349
/* ChanServ modules.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   350
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   351
 * Here you can disable or enable certain features of ChanServ, by
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   352
 * defining which modules are loaded. You can even disable ChanServ
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   353
 * entirely. Please note that ChanServ requires an authentication
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   354
 * service, either NickServ or UserServ will do.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   355
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   356
 * Core components                              modules/chanserv/main
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   357
 * ACCESS command (simplified ACL editing)      modules/chanserv/access
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   358
 * AKICK command                                modules/chanserv/akick
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   359
 * BAN/UNBAN commands                           modules/chanserv/ban
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   360
 * UNBAN self only (load ban or this not both)  modules/chanserv/unban_self
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   361
 * BANSEARCH command                            modules/chanserv/bansearch
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   362
 * CLOSE command                                modules/chanserv/close
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   363
 * CLONE command                                modules/chanserv/clone
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   364
 * CLEAR command                                modules/chanserv/clear
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   365
 * CLEAR AKICKS command                         modules/chanserv/clear_akicks
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   366
 * CLEAR BANS command                           modules/chanserv/clear_bans
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   367
 * CLEAR FLAGS command                          modules/chanserv/clear_flags
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   368
 * CLEAR USERS command                          modules/chanserv/clear_users
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   369
 * COUNT command                                modules/chanserv/count
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   370
 * DROP command                                 modules/chanserv/drop
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   371
 * Forced flags changes                         modules/chanserv/fflags
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   372
 * FLAGS command                                modules/chanserv/flags
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   373
 * Forced foundership transfers                 modules/chanserv/ftransfer
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   374
 * GETKEY command                               modules/chanserv/getkey
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   375
 * HALFOP/DEHALFOP commands                     modules/chanserv/halfop
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   376
 * HELP command                                 modules/chanserv/help
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   377
 * Channel expiry override (HOLD command)       modules/chanserv/hold
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   378
 * INFO command                                 modules/chanserv/info
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   379
 * INVITE command                               modules/chanserv/invite
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   380
 * KICK/KICKBAN commands                        modules/chanserv/kick
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   381
 * LIST command                                 modules/chanserv/list
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   382
 * MARK command                                 modules/chanserv/mark
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   383
 * Moderated channel registrations              modules/chanserv/moderate
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   384
 * OP/DEOP commands                             modules/chanserv/op
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   385
 * OWNER/DEOWNER commands                       modules/chanserv/owner
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   386
 * PROTECT/DEPROTECT commands                   modules/chanserv/protect
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   387
 * QUIET command (+q support)                   modules/chanserv/quiet
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   388
 * Channel takeover recovery (RECOVER command)  modules/chanserv/recover
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   389
 * REGISTER command                             modules/chanserv/register
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   390
 * SET EMAIL command                            modules/chanserv/set_email
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   391
 * SET ENTRYMSG command                         modules/chanserv/set_entrymsg
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   392
 * SET FANTASY command                          modules/chanserv/set_fantasy
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   393
 * SET GAMESERV command                         modules/chanserv/set_gameserv
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   394
 * SET GUARD command                            modules/chanserv/set_guard
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   395
 * SET KEEPTOPIC command                        modules/chanserv/set_keeptopic
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   396
 * SET LIMITFLAGS command                       modules/chanserv/set_limitflags
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   397
 * SET MLOCK command                            modules/chanserv/set_mlock
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   398
 * SET PREFIX command                           modules/chanserv/set_prefix
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   399
 * Channel info hiding (SET PRIVATE command)    modules/chanserv/set_private
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   400
 * SET PROPERTY command                         modules/chanserv/set_property
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   401
 * SET PUBACL command                           modules/chanserv/set_pubacl
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   402
 * SET RESTRICTED command                       modules/chanserv/set_restricted
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   403
 * SET SECURE command                           modules/chanserv/set_secure
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   404
 * SET TOPICLOCK command                        modules/chanserv/set_topiclock
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   405
 * SET URL command                              modules/chanserv/set_url
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   406
 * SET VERBOSE command                          modules/chanserv/set_verbose
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   407
 * STATUS command                               modules/chanserv/status
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   408
 * SYNC command (and automatic ACL syncing)     modules/chanserv/sync
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   409
 * Named Successor ACL flag                     modules/chanserv/successor_acl
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   410
 * Channel metadata viewer (TAXONOMY command)   modules/chanserv/taxonomy
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   411
 * TEMPLATE command                             modules/chanserv/template
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   412
 * TOPIC/TOPICAPPEND commands                   modules/chanserv/topic
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   413
 * VOICE/DEVOICE commands                       modules/chanserv/voice
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   414
 * WHY command                                  modules/chanserv/why
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   415
 * VOP/HOP/AOP/SOP commands                     modules/chanserv/xop
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   416
 *  This module provides emulation of the ircservices XOP scheme ONLY.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   417
 *  Do not report discrepencies when using native commands to edit channel
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   418
 *  ACLs. This is intentional.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   419
 * Flood protection                             modules/chanserv/antiflood
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   420
 *  This module should be loaded after at least chanserv/quiet if you want
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   421
 *  the autoquiet feature to work.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   422
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   423
loadmodule "modules/chanserv/main";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   424
loadmodule "modules/chanserv/access";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   425
loadmodule "modules/chanserv/akick";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   426
loadmodule "modules/chanserv/ban";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   427
#loadmodule "modules/chanserv/unban_self";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   428
loadmodule "modules/chanserv/bansearch";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   429
loadmodule "modules/chanserv/clone";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   430
loadmodule "modules/chanserv/close";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   431
loadmodule "modules/chanserv/clear";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   432
loadmodule "modules/chanserv/clear_akicks";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   433
loadmodule "modules/chanserv/clear_bans";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   434
loadmodule "modules/chanserv/clear_flags";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   435
loadmodule "modules/chanserv/clear_users";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   436
loadmodule "modules/chanserv/count";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   437
loadmodule "modules/chanserv/drop";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   438
#loadmodule "modules/chanserv/fflags";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   439
loadmodule "modules/chanserv/flags";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   440
loadmodule "modules/chanserv/ftransfer";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   441
loadmodule "modules/chanserv/getkey";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   442
#loadmodule "modules/chanserv/halfop";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   443
loadmodule "modules/chanserv/help";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   444
loadmodule "modules/chanserv/hold";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   445
loadmodule "modules/chanserv/info";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   446
loadmodule "modules/chanserv/invite";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   447
loadmodule "modules/chanserv/kick";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   448
loadmodule "modules/chanserv/list";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   449
loadmodule "modules/chanserv/mark";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   450
#loadmodule "modules/chanserv/moderate";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   451
loadmodule "modules/chanserv/op";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   452
#loadmodule "modules/chanserv/owner";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   453
#loadmodule "modules/chanserv/protect";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   454
#loadmodule "modules/chanserv/quiet";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   455
loadmodule "modules/chanserv/recover";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   456
loadmodule "modules/chanserv/register";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   457
loadmodule "modules/chanserv/set_email";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   458
loadmodule "modules/chanserv/set_entrymsg";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   459
loadmodule "modules/chanserv/set_fantasy";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   460
#loadmodule "modules/chanserv/set_gameserv";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   461
loadmodule "modules/chanserv/set_guard";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   462
loadmodule "modules/chanserv/set_keeptopic";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   463
#loadmodule "modules/chanserv/set_limitflags";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   464
loadmodule "modules/chanserv/set_mlock";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   465
loadmodule "modules/chanserv/set_prefix";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   466
#loadmodule "modules/chanserv/set_private";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   467
loadmodule "modules/chanserv/set_property";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   468
#loadmodule "modules/chanserv/set_pubacl";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   469
loadmodule "modules/chanserv/set_restricted";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   470
loadmodule "modules/chanserv/set_secure";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   471
loadmodule "modules/chanserv/set_topiclock";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   472
loadmodule "modules/chanserv/set_url";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   473
loadmodule "modules/chanserv/set_verbose";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   474
loadmodule "modules/chanserv/status";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   475
loadmodule "modules/chanserv/sync";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   476
#loadmodule "modules/chanserv/successor_acl";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   477
loadmodule "modules/chanserv/taxonomy";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   478
loadmodule "modules/chanserv/template";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   479
loadmodule "modules/chanserv/topic";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   480
loadmodule "modules/chanserv/voice";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   481
loadmodule "modules/chanserv/why";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   482
#loadmodule "modules/chanserv/xop";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   483
loadmodule "modules/chanserv/antiflood";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   484
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   485
/* CHANFIX module.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   486
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   487
 * Here you can disable or enable certain features of CHANFIX, by
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   488
 * defining which modules are loaded.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   489
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   490
 * Core components                              modules/chanfix/main
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   491
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   492
#loadmodule "modules/chanfix/main";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   493
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   494
/* OperServ modules.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   495
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   496
 * Here you can disable or enable certain features of OperServ, by
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   497
 * defining which modules are loaded.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   498
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   499
 * Core components                              modules/operserv/main
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   500
 * AKILL system                                 modules/operserv/akill
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   501
 * CLEARCHAN command                            modules/operserv/clearchan
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   502
 * CLONES system                                modules/operserv/clones
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   503
 * COMPARE command                              modules/operserv/compare
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   504
 * GENHASH command                              modules/operserv/genhash
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   505
 * GREPLOG command                              modules/operserv/greplog
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   506
 * HELP command                                 modules/operserv/help
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   507
 * IGNORE system                                modules/operserv/ignore
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   508
 * IDENTIFY command                             modules/operserv/identify
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   509
 * INFO command                                 modules/operserv/info
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   510
 * INJECT command                               modules/operserv/inject
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   511
 * JUPE command                                 modules/operserv/jupe
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   512
 * MODE command                                 modules/operserv/mode
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   513
 * MODINSPECT command                           modules/operserv/modinspect
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   514
 * MODLIST command                              modules/operserv/modlist
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   515
 * MODLOAD command                              modules/operserv/modload
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   516
 * MODRELOAD command                            modules/operserv/modreload
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   517
 * MODUNLOAD command                            modules/operserv/modunload
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   518
 * NOOP system                                  modules/operserv/noop
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   519
 * Regex mass akill (RAKILL command)            modules/operserv/rakill
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   520
 * RAW command                                  modules/operserv/raw
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   521
 * READONLY command                             modules/operserv/readonly
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   522
 * REHASH command                               modules/operserv/rehash
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   523
 * RESTART command                              modules/operserv/restart
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   524
 * Display regex matching (RMATCH command)      modules/operserv/rmatch
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   525
 * Most common realnames (RNC command)          modules/operserv/rnc
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   526
 * RWATCH system                                modules/operserv/rwatch
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   527
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   528
 * Note that ALL of these SET commands only apply until the next rehash!
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   529
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   530
 * ALL of the below SET commands (deprecated)   modules/operserv/set
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   531
 * SET AKICKTIME subcommand (temporarily)       modules/operserv/set_akicktime
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   532
 * SET CHANEXPIRE subcommand (temporarily)      modules/operserv/set_chanexpire
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   533
 * SET COMMITINTERVAL subcommand (temporarily)  modules/operserv/set_commitinterval
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   534
 * SET ENFORCEPREFIX subcommand (temporarily)   modules/operserv/set_enforceprefix
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   535
 * SET KLINETIME subcommand (temporarily)       modules/operserv/set_klinetime
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   536
 * SET MAXCHANACS subcommand (temporarily)      modules/operserv/set_maxchanacs
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   537
 * SET MAXCHANS subcommand (temporarily)        modules/operserv/set_maxchans
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   538
 * SET MAXFOUNDERS subcommand (temporarily)     modules/operserv/set_maxfounders
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   539
 * SET MAXLOGINS subcommand (temporarily)       modules/operserv/set_maxlogins
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   540
 * SET MAXNICKS subcommand (temporarily)        modules/operserv/set_maxnicks
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   541
 * SET MAXUSERS subcommand (temporarily)        modules/operserv/set_maxusers
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   542
 * SET MDLIMIT subcommand (temporarily)         modules/operserv/set_mdlimit
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   543
 * SET NICKEXPIRE subcommand (temporarily)      modules/operserv/set_nickexpire
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   544
 * SET RECONTIME subcommand (temporarily)       modules/operserv/set_recontime
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   545
 * SET SPAM subcommand (temporarily)            modules/operserv/set_spam
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   546
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   547
 * SGLINE system                                modules/operserv/sgline
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   548
 * SHUTDOWN command                             modules/operserv/shutdown
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   549
 * Non-config oper privileges (SOPER command)   modules/operserv/soper
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   550
 * Oper privilege display (SPECS command)       modules/operserv/specs
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   551
 * SQLINE system                                modules/operserv/sqline
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   552
 * UPDATE command                               modules/operserv/update
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   553
 * UPTIME command                               modules/operserv/uptime
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   554
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   555
loadmodule "modules/operserv/main";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   556
loadmodule "modules/operserv/akill";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   557
#loadmodule "modules/operserv/clearchan";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   558
#loadmodule "modules/operserv/clones";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   559
loadmodule "modules/operserv/compare";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   560
#loadmodule "modules/operserv/genhash";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   561
#loadmodule "modules/operserv/greplog";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   562
loadmodule "modules/operserv/help";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   563
loadmodule "modules/operserv/identify";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   564
loadmodule "modules/operserv/ignore";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   565
loadmodule "modules/operserv/info";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   566
loadmodule "modules/operserv/jupe";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   567
loadmodule "modules/operserv/mode";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   568
loadmodule "modules/operserv/modinspect";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   569
loadmodule "modules/operserv/modlist";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   570
loadmodule "modules/operserv/modload";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   571
loadmodule "modules/operserv/modunload";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   572
loadmodule "modules/operserv/modreload";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   573
loadmodule "modules/operserv/noop";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   574
#loadmodule "modules/operserv/rakill";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   575
loadmodule "modules/operserv/readonly";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   576
loadmodule "modules/operserv/rehash";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   577
loadmodule "modules/operserv/restart";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   578
loadmodule "modules/operserv/rmatch";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   579
loadmodule "modules/operserv/rnc";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   580
loadmodule "modules/operserv/rwatch";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   581
loadmodule "modules/operserv/set";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   582
loadmodule "modules/operserv/sgline";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   583
loadmodule "modules/operserv/shutdown";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   584
#loadmodule "modules/operserv/soper";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   585
loadmodule "modules/operserv/specs";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   586
#loadmodule "modules/operserv/sqline";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   587
loadmodule "modules/operserv/update";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   588
loadmodule "modules/operserv/uptime";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   589
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   590
/* MemoServ modules.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   591
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   592
 * Here you can disable or enable certain features of MemoServ, by
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   593
 * defining which modules are loaded. You can even disable MemoServ
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   594
 * entirely.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   595
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   596
 * Core components                              modules/memoserv/main
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   597
 * HELP command                                 modules/memoserv/help
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   598
 * SEND command                                 modules/memoserv/send
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   599
 * Channel memos (SENDOPS command)              modules/memoserv/sendops
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   600
 * Group memos (SENDGROUP command)              modules/memoserv/sendgroup
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   601
 * LIST command                                 modules/memoserv/list
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   602
 * READ command                                 modules/memoserv/read
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   603
 * FORWARD command                              modules/memoserv/forward
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   604
 * DELETE command                               modules/memoserv/delete
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   605
 * IGNORE command                               modules/memoserv/ignore
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   606
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   607
loadmodule "modules/memoserv/main";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   608
loadmodule "modules/memoserv/help";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   609
loadmodule "modules/memoserv/send";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   610
loadmodule "modules/memoserv/sendops";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   611
loadmodule "modules/memoserv/sendgroup";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   612
loadmodule "modules/memoserv/list";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   613
loadmodule "modules/memoserv/read";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   614
loadmodule "modules/memoserv/forward";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   615
loadmodule "modules/memoserv/delete";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   616
loadmodule "modules/memoserv/ignore";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   617
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   618
/* Global module.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   619
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   620
 * Like the other services, the Global noticer is a module. You can
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   621
 * disable or enable it to your liking below. Please note that the
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   622
 * Global noticer is dependent on OperServ for full functionality.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   623
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   624
loadmodule "modules/global/main";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   625
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   626
/* InfoServ module.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   627
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   628
 * Like the other services, InfoServ is a module. You can disable or
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   629
 * enable it to your liking below.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   630
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   631
loadmodule "modules/infoserv/main";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   632
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   633
/* SASL agent module.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   634
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   635
 * Allows clients to authenticate to services via SASL with an appropriate
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   636
 * ircd. You need the core components and at least one mechanism.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   637
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   638
 * Core components                      modules/saslserv/main
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   639
 * AUTHCOOKIE mechanism (for IRIS)      modules/saslserv/authcookie
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   640
 * ECDH-X25519-CHALLENGE mechanism      modules/saslserv/ecdh-x25519-challenge
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   641
 * ECDSA-NIST256P-CHALLENGE mechanism   modules/saslserv/ecdsa-nist256p-challenge
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   642
 * EXTERNAL mechanism (IRCv3.1+)        modules/saslserv/external
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   643
 * PLAIN mechanism                      modules/saslserv/plain
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   644
 * SCRAM-SHA-* mechanisms               modules/saslserv/scram
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   645
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   646
 * ECDH-X25519-CHALLENGE support requires that Atheme be compiled against a
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   647
 * cryptographic library that provides X25519 ECDH support (BoringSSL,
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   648
 * LibreSSL, ARM mbedTLS, Nettle, Sodium). This will be checked while running
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   649
 * ./configure.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   650
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   651
 * ECDSA-NIST256P-CHALLENGE support requires that Atheme be compiled against
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   652
 * an OpenSSL with ECDSA support (not RHEL etc. unless you compile your own).
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   653
 * This will be checked while running ./configure.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   654
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   655
 * You MUST read doc/SASL-SCRAM before loading modules/saslserv/scram!
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   656
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   657
loadmodule "modules/saslserv/main";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   658
loadmodule "modules/saslserv/authcookie";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   659
#loadmodule "modules/saslserv/ecdh-x25519-challenge";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   660
#loadmodule "modules/saslserv/ecdsa-nist256p-challenge";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   661
#loadmodule "modules/saslserv/external";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   662
loadmodule "modules/saslserv/plain";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   663
#loadmodule "modules/saslserv/scram";   /* READ doc/SASL-SCRAM FIRST! */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   664
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   665
/* GameServ modules.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   666
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   667
 * Here you can disable or enable certain features of GameServ, by
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   668
 * defining which modules are loaded. You can even disable GameServ
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   669
 * entirely.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   670
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   671
 * Core components                              modules/gameserv/main
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   672
 * DICE/WOD commands                            modules/gameserv/dice
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   673
 * EIGHTBALL command                            modules/gameserv/eightball
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   674
 * Game-specific dice calculators               modules/gameserv/gamecalc
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   675
 * HELP commands                                modules/gameserv/help
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   676
 * LOTTERY command                              modules/gameserv/lottery
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   677
 * NAMEGEN command                              modules/gameserv/namegen
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   678
 * RPS command                                  modules/gameserv/rps
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   679
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   680
#loadmodule "modules/gameserv/main";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   681
#loadmodule "modules/gameserv/dice";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   682
#loadmodule "modules/gameserv/eightball";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   683
#loadmodule "modules/gameserv/gamecalc";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   684
#loadmodule "modules/gameserv/help";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   685
#loadmodule "modules/gameserv/lottery";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   686
#loadmodule "modules/gameserv/namegen";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   687
#loadmodule "modules/gameserv/rps";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   688
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   689
/* RPGServ modules.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   690
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   691
 * Here you can disable or enable certain features of RPGServ, by
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   692
 * defining which modules are loaded. You can even disable RPGServ
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   693
 * entirely.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   694
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   695
 * Core components                              modules/rpgserv/main
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   696
 * ENABLE/DISABLE commands                      modules/rpgserv/enable
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   697
 * HELP command                                 modules/rpgserv/help
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   698
 * INFO command                                 modules/rpgserv/info
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   699
 * LIST command                                 modules/rpgserv/list
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   700
 * SEARCH command                               modules/rpgserv/search
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   701
 * SET commands                                 modules/rpgserv/set
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   702
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   703
#loadmodule "modules/rpgserv/main";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   704
#loadmodule "modules/rpgserv/enable";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   705
#loadmodule "modules/rpgserv/help";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   706
#loadmodule "modules/rpgserv/info";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   707
#loadmodule "modules/rpgserv/list";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   708
#loadmodule "modules/rpgserv/search";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   709
#loadmodule "modules/rpgserv/set";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   710
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   711
/* BotServ modules.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   712
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   713
 * Here you can disable or enable certain features of BotServ, by
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   714
 * defining which modules are loaded. You can even disable BotServ
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   715
 * entirely.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   716
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   717
 * Core components                              modules/botserv/main
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   718
 * HELP command                                 modules/botserv/help
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   719
 * INFO command                                 modules/botserv/info
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   720
 * NPC commands (SAY, ACT)                      modules/botserv/bottalk
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   721
 * SET FANTASY command                          modules/botserv/set_fantasy
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   722
 * SET NOBOT command                            modules/botserv/set_nobot
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   723
 * SET PRIVATE command                          modules/botserv/set_private
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   724
 * SET SAYCALLER command                        modules/botserv/set_saycaller
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   725
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   726
#loadmodule "modules/botserv/main";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   727
#loadmodule "modules/botserv/help";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   728
#loadmodule "modules/botserv/info";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   729
#loadmodule "modules/botserv/bottalk";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   730
#loadmodule "modules/botserv/set_fantasy";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   731
#loadmodule "modules/botserv/set_nobot";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   732
#loadmodule "modules/botserv/set_private";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   733
#loadmodule "modules/botserv/set_saycaller";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   734
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   735
/* HostServ modules.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   736
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   737
 * Here you can disable or enable certain features of HostServ, by
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   738
 * defining which modules are loaded. You can even disable HostServ
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   739
 * entirely.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   740
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   741
 * HostServ is a more complex, and optional virtual host management service.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   742
 * Users wishing only to set vhosts need not use it (they can use the builtin
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   743
 * vhost management of NickServ instead).
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   744
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   745
 * Core components                              modules/hostserv/main
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   746
 * HELP command                                 modules/hostserv/help
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   747
 * OFFER system                                 modules/hostserv/offer
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   748
 * ON and OFF commands                          modules/hostserv/onoff
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   749
 * REQUEST system                               modules/hostserv/request
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   750
 * VHOST and LISTVHOST commands                 modules/hostserv/vhost
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   751
 * VHOSTNICK command                            modules/hostserv/vhostnick
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   752
 * GROUP command                                modules/hostserv/group
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   753
 * DROP command                                 modules/hostserv/drop
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   754
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   755
#loadmodule "modules/hostserv/main";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   756
#loadmodule "modules/hostserv/help";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   757
#loadmodule "modules/hostserv/onoff";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   758
#loadmodule "modules/hostserv/offer";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   759
#loadmodule "modules/hostserv/request";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   760
#loadmodule "modules/hostserv/vhost";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   761
#loadmodule "modules/hostserv/vhostnick";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   762
#loadmodule "modules/hostserv/group";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   763
#loadmodule "modules/hostserv/drop";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   764
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   765
/* HelpServ modules.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   766
 * HelpServ allows users to request help from network staff in a few different ways.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   767
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   768
 * Core components                              modules/helpserv/main
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   769
 * HELPME command                               modules/helpserv/helpme
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   770
 * Help Ticket system                           modules/helpserv/ticket
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   771
 * Service List                                 modules/helpserv/services
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   772
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   773
 * The ticket system works like a bugtracker ot helpdesk ticket system, HELPME
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   774
 * works like a one-time alert. You should probably only load one of the two systems.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   775
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   776
#loadmodule "modules/helpserv/main";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   777
#loadmodule "modules/helpserv/helpme";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   778
#loadmodule "modules/helpserv/ticket";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   779
#loadmodule "modules/helpserv/services";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   780
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   781
/* Channel listing service.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   782
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   783
 * Allows users to list channels with more flexibility than the /list
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   784
 * command.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   785
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   786
 * Core components                              modules/alis/main
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   787
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   788
#loadmodule "modules/alis/main";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   789
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   790
/* StatServ module.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   791
 * StatServ provides basic statistics and split tracking.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   792
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   793
 * Core components                              modules/statserv/main
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   794
 * CHANNEL command                              modules/statserv/channel
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   795
 * NETSPLIT command                             modules/statserv/netsplit
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   796
 * SERVER command                               modules/statserv/server
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   797
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   798
loadmodule "modules/statserv/main";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   799
#loadmodule "modules/statserv/channel";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   800
loadmodule "modules/statserv/netsplit";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   801
loadmodule "modules/statserv/server";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   802
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   803
/* GroupServ module.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   804
 * GroupServ allows users to create groups to easily mass-manage channel
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   805
 * access and more.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   806
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   807
 * Core components                              modules/groupserv/main
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   808
 * ACSNOLIMIT command                           modules/groupserv/acsnolimit
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   809
 * DROP command                                 modules/groupserv/drop
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   810
 * FFLAGS command                               modules/groupserv/fflags
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   811
 * FLAGS command                                modules/groupserv/flags
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   812
 * HELP command                                 modules/groupserv/help
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   813
 * INFO command                                 modules/groupserv/info
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   814
 * JOIN command                                 modules/groupserv/join
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   815
 * LIST command                                 modules/groupserv/list
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   816
 * LISTCHANS command                            modules/groupserv/listchans
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   817
 * REGISTER command                             modules/groupserv/register
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   818
 * REGNOLIMIT command                           modules/groupserv/regnolimit
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   819
 * INVITE command                               modules/groupserv/invite
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   820
 * SET command                                  modules/groupserv/set
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   821
 * SET CHANNEL command                          modules/groupserv/set_channel
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   822
 * SET DESCRIPTION command                      modules/groupserv/set_description
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   823
 * SET EMAIL command                            modules/groupserv/set_email
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   824
 * SET GROUPNAME command                        modules/groupserv/set_groupname
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   825
 * SET JOINFLAGS command                        modules/groupserv/set_joinflags
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   826
 * SET OPEN command                             modules/groupserv/set_open
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   827
 * SET PUBLIC command                           modules/groupserv/set_public
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   828
 * SET URL command                              modules/groupserv/set_url
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   829
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   830
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   831
loadmodule "modules/groupserv/main";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   832
loadmodule "modules/groupserv/acsnolimit";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   833
loadmodule "modules/groupserv/drop";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   834
loadmodule "modules/groupserv/fflags";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   835
loadmodule "modules/groupserv/flags";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   836
loadmodule "modules/groupserv/help";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   837
loadmodule "modules/groupserv/info";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   838
loadmodule "modules/groupserv/join";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   839
loadmodule "modules/groupserv/list";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   840
loadmodule "modules/groupserv/listchans";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   841
loadmodule "modules/groupserv/register";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   842
loadmodule "modules/groupserv/regnolimit";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   843
#loadmodule "modules/groupserv/invite";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   844
loadmodule "modules/groupserv/set";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   845
loadmodule "modules/groupserv/set_channel";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   846
loadmodule "modules/groupserv/set_description";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   847
loadmodule "modules/groupserv/set_email";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   848
loadmodule "modules/groupserv/set_groupname";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   849
loadmodule "modules/groupserv/set_joinflags";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   850
loadmodule "modules/groupserv/set_open";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   851
loadmodule "modules/groupserv/set_public";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   852
loadmodule "modules/groupserv/set_url";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   853
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   854
/*
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   855
 * Various modules.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   856
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   857
 * Atheme includes an optional HTTP server that can be used for integration
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   858
 * with portal software and other useful things. To enable it, load this
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   859
 * module, and uncomment the httpd { } block towards the bottom of the config.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   860
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   861
 * HTTP Server                                  modules/misc/httpd
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   862
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   863
#loadmodule "modules/misc/httpd";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   864
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   865
/* XMLRPC server module.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   866
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   867
 * The XML-RPC handler requires modules/misc/httpd to be loaded as it merely
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   868
 * registers a path handler for XML-RPC. The path used for XML-RPC is /xmlrpc.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   869
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   870
 * XMLRPC handler for the httpd                 modules/transport/xmlrpc
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   871
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   872
#loadmodule "modules/transport/xmlrpc";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   873
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   874
/* Extended target entity types. [EXPERIMENTAL]
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   875
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   876
 * Atheme can set up special target mapping entities which match multiple
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   877
 * users in channel access entries.  These target mapping entity types are
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   878
 * defined through the 'exttarget' modules listed below.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   879
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   880
 * Exttarget handling core                      modules/exttarget/main
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   881
 * $oper exttarget match type                   modules/exttarget/oper
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   882
 * $registered exttarget match type             modules/exttarget/registered
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   883
 * $channel exttarget match type                modules/exttarget/channel
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   884
 * $chanacs exttarget match type                modules/exttarget/chanacs
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   885
 * $server exttarget match type                 modules/exttarget/server
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   886
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   887
#loadmodule "modules/exttarget/main";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   888
#loadmodule "modules/exttarget/oper";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   889
#loadmodule "modules/exttarget/registered";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   890
#loadmodule "modules/exttarget/channel";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   891
#loadmodule "modules/exttarget/chanacs";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   892
#loadmodule "modules/exttarget/server";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   893
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   894
/* Proxyscan (DNSBL) modules.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   895
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   896
 * Atheme can also check set DNS Blacklists for matches and respond
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   897
 * as set.  Activate modules here and customize further down under Proxyscan
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   898
 * section.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   899
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   900
#loadmodule "modules/proxyscan/main";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   901
#loadmodule "modules/proxyscan/dnsbl";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   902
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   903
/* Other modules.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   904
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   905
 * Put any other modules you want to load on startup here. The path
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   906
 * is relative to PREFIX or PREFIX/lib/atheme, depending on how Atheme
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   907
 * was compiled.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   908
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   909
#loadmodule "modules/contrib/backtrace";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   910
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   911
/******************************************************************************
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   912
 * SERVICES RUNTIME CONFIGURATION SECTION.                                    *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   913
 ******************************************************************************/
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   914
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   915
/*
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   916
 * This block controls the configuration options for crypto modules.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   917
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   918
 * It is recommended to either leave the values at their defaults, or
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   919
 * experiment with them so that it takes approximately 0.2-0.4 seconds
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   920
 * for users to identify. Services blocks while the password is being
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   921
 * encrypted or verified, so don't set these too large, or people can
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   922
 * hang services by trying many password attempts at once.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   923
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   924
 * A benchmark program for the Argon2, scrypt & PBKDF2 crypto code is
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   925
 * available to assist with tuning these parameters:
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   926
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   927
 *     - ./configure --prefix=foo ...
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   928
 *     - make
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   929
 *     - make install
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   930
 *     - ${foo}/bin/atheme-crypto-benchmark -o
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   931
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   932
 * If you wish to deploy SASL SCRAM support, please read 'doc/SASL-SCRAM' and
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   933
 * pass the '-i' flag to the included cryptographic benchmarking utility too.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   934
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   935
 * If you are using the PBKDF2 module, its performance will be significantly
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   936
 * affected by your choice of cryptographic digest library. This software can
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   937
 * currently interface with 3 libraries; in decreasing order of performance:
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   938
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   939
 *     - OpenSSL (libcrypto)
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   940
 *     - GnuPG (libgcrypt)
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   941
 *     - ARM mbedTLS (libmbedcrypto)
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   942
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   943
 * If you have one of these libraries available at configure-time, the PBKDF2
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   944
 * module will perform significantly better, allowing you to raise its
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   945
 * iteration count without affecting the computation time. This is indicated
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   946
 * by the output of the configure script; "Digest Frontend". The benchmark
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   947
 * program will also inform you what cryptographic digest library it is using,
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   948
 * if any.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   949
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   950
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   951
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   952
 * If you are migrating from crypto/argon2d (v7.2) to crypto/argon2, and you
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   953
 * wish to use the same parameters as the older module's defaults, configure
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   954
 * it like so:
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   955
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   956
 *     crypto {
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   957
 *         argon2_type = "argon2d";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   958
 *         argon2_memcost = 14;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   959
 *         argon2_timecost = 32;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   960
 *         argon2_threads = 1;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   961
 *         argon2_saltlen = 32;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   962
 *         argon2_hashlen = 64;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   963
 *     };
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   964
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   965
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   966
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   967
 * If you are migrating from crypto/pbkdf2 (v7.2) to crypto/pbkdf2v2, and you
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   968
 * wish to use the same parameters as the older module, configure it like so:
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   969
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   970
 *     crypto {
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   971
 *         pbkdf2v2_digest = "SHA512";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   972
 *         pbkdf2v2_rounds = 128000;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   973
 *     };
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   974
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   975
 * Note that this will still result in passwords being re-encrypted with the
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   976
 * newer module (as the older module successfully verifies them); another new
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   977
 * PBKDF2 computation with a new salt will occur, but this is still no worse
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   978
 * than an invocation of NickServ's "SET PASSWORD" command. You will still
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   979
 * need to keep the old module in your loadmodule configuration above, as the
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   980
 * new module cannot verify digests produced by the old one.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   981
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   982
 * If you wish to deploy SASL SCRAM support, please read 'doc/SASL-SCRAM'.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   983
 * Its advice regarding parameter choice takes precedence over this!
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   984
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   985
crypto {
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   986
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   987
        /* (*) argon2_type
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   988
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   989
         * The algorithm type to use for new passwords.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   990
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   991
         * Argon2d is suitable for use on a dedicated machine that has
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   992
         * limited access. It provides the most resistance to GPU and ASIC
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   993
         * cracking attacks, but its operation is data-dependent; that is,
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   994
         * during its operation, keying material derived from the password
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   995
         * itself is indirectly affecting the execution choices made by the
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   996
         * algorithm. This creates a side-channel that can leak information
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   997
         * about the password to other software running on the same physical
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   998
         * machine.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
   999
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1000
         * Argon2i avoids this by being data-independent. The order of memory
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1001
         * accesses, conditional execution, etc. does not depend on the
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1002
         * password, or any material derived from the password, so no side-
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1003
         * channel that can reveal any information about the password is
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1004
         * created. However, this means that it is easier to bruteforce by a
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1005
         * password cracker, which does not have to account for execution
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1006
         * differences in its implementation. This is the most suitable
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1007
         * choice for running on a virtual machine that is co-located with
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1008
         * other, untrusted, virtual machines, or on a dedicated machine that
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1009
         * runs other, untrusted, software, or has untrusted user access.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1010
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1011
         * Argon2id is a blend of both, limiting the exploitability of any
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1012
         * side-channels while retaining excellent resistance to GPU and ASIC
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1013
         * cracking. This is suitable for all but the most sensitive of
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1014
         * deployments.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1015
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1016
         * All algorithm types perform about equally as well as each other;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1017
         * changing this will not significantly affect the computation time.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1018
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1019
         * The "argon2id" type requires a more recent libargon2 library. This
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1020
         * is indicated in your ./configure output ("checking if libargon2
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1021
         * algorithm type Argon2id appears to be usable...").
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1022
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1023
         * Valid values are "argon2d", "argon2i", and "argon2id"
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1024
         * The default is "argon2id"; unless unsupported, then "argon2d".
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1025
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1026
        #argon2_type = "argon2id";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1027
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1028
        /* (*) argon2_memcost
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1029
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1030
         * Memory cost (as a power of 2, in KiB) to use for new passwords.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1031
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1032
         * You should set this as high as is reasonable for the machine you
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1033
         * will be running this software on. If this results in too slow a
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1034
         * computation time, reset the time cost below to its minimum value.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1035
         * If it is still too slow, decrement this value (halving the memory
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1036
         * usage) until it is fast enough. Alternatively, if it is still too
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1037
         * fast after setting this to its highest reasonable value, raise the
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1038
         * time cost below until it is not. A benchmark program is available
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1039
         * alongside this software to aid in this process.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1040
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1041
         * WARNING: Do *NOT* set this to more than 20 (1 GiB RAM) on a 32-bit
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1042
         *          machine or a 32-bit Operating System!
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1043
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1044
         * Valid values are 3 (8 KiB RAM) to 30 (1 TiB RAM) (inclusive)
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1045
         * The default is 16 (64 MiB RAM)
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1046
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1047
        #argon2_memcost = 16;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1048
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1049
        /* (*) argon2_timecost
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1050
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1051
         * Time cost (iterations over the memory pool).
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1052
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1053
         * Valid values are 3 to 1,048,576 (inclusive)
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1054
         * The default is 3
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1055
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1056
        #argon2_timecost = 3;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1057
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1058
        /* (*) argon2_threads
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1059
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1060
         * Number of processor threads to use for new passwords.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1061
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1062
         * If you want to increase the amount of computation effort required,
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1063
         * while not increasing the real ("wall clock") time required, raise
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1064
         * this setting to its maximum reasonable value for the machine you
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1065
         * will be running this software on.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1066
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1067
         * This software is not multi-threaded, so only one password will be
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1068
         * verified at a time. Therefore, you do NOT need to divide this by
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1069
         * the expected maximum number of simultaneous logins.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1070
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1071
         * It is pointless to set this higher than the number of hardware
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1072
         * processing threads you have; increase the time cost above instead
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1073
         * if you want to make it arbitrarily slower. Diminishing returns are
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1074
         * to be expected once you exceed the number of hardware processing
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1075
         * /cores/ you have; hyperthreading does NOT provide much (if any) of
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1076
         * a boost for this workload.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1077
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1078
         * Increasing this value will *decrease* the real time required, so
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1079
         * you may have to subsequently increase the time cost above again to
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1080
         * make it "just slow enough" once more. A benchmark program is
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1081
         * available alongside this software to aid in this process.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1082
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1083
         * WARNING: The (size of the) memory pool configured above is split
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1084
         * between the threads, which can result in too small a memory area
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1085
         * per-thread if many threads are used. If you set this value, it is
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1086
         * HIGHLY RECOMMENDED that you run the included benchmarking program
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1087
         * with the same configuration options, to confirm that it works!
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1088
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1089
         * WARNING: This feature is experimental. Some of the code in this
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1090
         * software is not thread-safe, and although every effort has been
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1091
         * made to ensure that this feature will not interfere with the
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1092
         * operation of this software, this cannot be guaranteed.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1093
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1094
         * Valid values are 1 to 255 (inclusive)
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1095
         * The default is 1 (do not use any computation parallelism)
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1096
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1097
        #argon2_threads = 1;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1098
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1099
        /* (*) argon2_saltlen
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1100
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1101
         * Salt length (in bytes) to use for new passwords. You should only
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1102
         * change this if absolutely necessary; for example, to interoperate
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1103
         * with other software. Its value doesn't significantly affect the
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1104
         * computation time.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1105
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1106
         * Valid values are 4 to 48 (inclusive)
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1107
         * The default is 16
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1108
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1109
        #argon2_saltlen = 16;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1110
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1111
        /* (*) argon2_hashlen
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1112
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1113
         * Digest length (in bytes) to use for new passwords. You should only
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1114
         * change this if absolutely necessary; for example, to interoperate
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1115
         * with other software. Its value doesn't significantly affect the
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1116
         * computation time.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1117
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1118
         * Valid values are 16 to 128 (inclusive)
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1119
         * The default is 64
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1120
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1121
        #argon2_hashlen = 64;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1122
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1123
        /* (*) scrypt_memlimit
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1124
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1125
         * Memory limit (as a power of 2, in KiB) to use for new passwords.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1126
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1127
         * You should set this as high as is reasonable for the machine you
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1128
         * will be running this software on. If this results in too slow a
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1129
         * computation time, reset the opslimit below to its default value.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1130
         * If it is still too slow, decrement this value (halving the memory
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1131
         * usage) until it is fast enough. Alternatively, if it is still too
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1132
         * fast after setting this to its highest reasonable value, raise the
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1133
         * opslimit below until it is not. A benchmark program is available
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1134
         * alongside this software to aid in this process.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1135
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1136
         * WARNING: Do *NOT* set this to more than 20 (1 GiB RAM) on a 32-bit
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1137
         *          machine or a 32-bit Operating System!
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1138
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1139
         * Valid values are 14 (16 MiB RAM) to 26 (64 GiB RAM) (inclusive)
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1140
         * The default is 14 (16 MiB RAM)
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1141
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1142
        #scrypt_memlimit = 14;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1143
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1144
        /* (*) scrypt_opslimit
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1145
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1146
         * Amount of computation to perform for new passwords.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1147
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1148
         * The default value for this option is based on the default value of
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1149
         * the above option. The recommended value is (memlimit_bytes / 32).
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1150
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1151
         * Valid values are 32,768 to 4,294,967,295 (inclusive)
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1152
         * The default is 524,288
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1153
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1154
        #scrypt_opslimit = 524288;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1155
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1156
        /* (*) pbkdf2v2_digest
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1157
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1158
         * Cryptographic digest algorithm to use (in HMAC mode).
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1159
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1160
         * Valid values are "SHA1", "SHA2-256", and "SHA2-512".
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1161
         * Additionally, the following aliases exist, for compatibility:
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1162
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1163
         *   "SHA-1"   -> SHA1
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1164
         *   "SHA256"  -> SHA2-256
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1165
         *   "SHA512"  -> SHA2-512
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1166
         *   "SHA-256" -> SHA2-256
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1167
         *   "SHA-512" -> SHA2-512
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1168
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1169
         * Finally, you can prefix this value with "SCRAM-" to enable the
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1170
         * computation and storage of an RFC5802/SCRAM ServerKey & StoredKey,
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1171
         * instead of a raw PBKDF2 digest (SaltedPassword). Verification of
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1172
         * plaintext passwords against these digests can still be performed
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1173
         * (for e.g. NickServ IDENTIFY or SASL PLAIN), by computing a new
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1174
         * SCRAM ServerKey from the provided password and comparing it to the
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1175
         * stored ServerKey, so setting this to a SCRAM mode does NOT prevent
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1176
         * non-SCRAM logins. For these variants, please read doc/SASL-SCRAM.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1177
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1178
         * The default is "SHA2-512"
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1179
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1180
        #pbkdf2v2_digest = "SHA2-512";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1181
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1182
        /* (*) pbkdf2v2_rounds
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1183
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1184
         * This is the PBKDF2 "iteration count". You should raise this as high
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1185
         * as is reasonable for the machine you will be running services on.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1186
         * However, note that if you are going to deploy SASL SCRAM support,
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1187
         * the *client*, NOT services, performs the PBKDF2 calculation during
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1188
         * login, so keep in mind that many mobile clients will not perform as
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1189
         * well as a server, and reduce the iteration count accordingly. Also,
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1190
         * some clients will refuse to perform a login at all if this is set
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1191
         * too high. A benchmark program is included alongside this software to
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1192
         * aid in tuning this parameter.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1193
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1194
         * Valid values are 10,000 to 5,000,000 (inclusive)
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1195
         * The default is 64,000
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1196
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1197
        #pbkdf2v2_rounds = 64000;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1198
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1199
        /* (*) pbkdf2v2_saltlen
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1200
         * You should only change this if you *really* know what you're doing
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1201
         * Valid values are 8 to 64 (inclusive)
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1202
         * The default is 32
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1203
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1204
        #pbkdf2v2_saltlen = 32;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1205
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1206
        /* (*) bcrypt_cost
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1207
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1208
         * Amount of rounds to perform for new passwords (as a power of 2).
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1209
         * You should raise this as high as is reasonable. A benchmark
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1210
         * program is available alongside this software to aid in this
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1211
         * process.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1212
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1213
         * Valid values are 4 to 31 (inclusive)
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1214
         * The default is 7
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1215
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1216
        #bcrypt_cost = 7;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1217
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1218
        /* (*) crypt3_sha2_256_rounds
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1219
         * (*) crypt3_sha2_512_rounds
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1220
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1221
         * Use of this option is restricted to certain C libraries!
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1222
         * At present, only GNU libc6 ("glibc") v2.7+ is known to work.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1223
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1224
         * Valid values are 5,000 to 1,000,000 (inclusive)
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1225
         * The default is 5,000
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1226
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1227
        #crypt3_sha2_256_rounds = 5000;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1228
        #crypt3_sha2_512_rounds = 5000;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1229
};
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1230
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1231
/* The serverinfo{} block defines how we appear on the IRC network. */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1232
serverinfo {
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1233
        /* name
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1234
         * The server name that this program uses on the IRC network.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1235
         * This is the name you'll have to use in C:/N:Lines. It must be
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1236
         * unique on the IRC network and contain at least one dot, but does
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1237
         * not have to be equal to any DNS name.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1238
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1239
        name = "{{atheme_server_host}}";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1240
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1241
        /* desc
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1242
         * The ``server comment'' we send to the IRC network.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1243
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1244
        desc = "Atheme IRC Services";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1245
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1246
        /* numeric
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1247
         * Some protocol drivers (Charybdis, Ratbox2, P10, IRCNet)
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1248
         * require a server id, also known as a numeric. Please consult your
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1249
         * ircd's documentation when providing this value.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1250
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1251
        numeric = "00A";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1252
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1253
        /* (*)recontime
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1254
         * The number of seconds before we reconnect to the uplink.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1255
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1256
        recontime = 10;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1257
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1258
        /* (*)netname
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1259
         * The name of your network.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1260
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1261
        netname = "{{atheme_server_host}}";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1262
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1263
        /* (*)hidehostsuffix
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1264
         * P10 +x host hiding gives <account>.<hidehostsuffix>.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1265
         * If using +x on asuka, this must agree
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1266
         * with F:HIDDEN_HOST.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1267
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1268
        hidehostsuffix = "users.misconfigured";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1269
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1270
        /* (*)adminname
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1271
         * The name of the person running this service.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1272
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1273
        adminname = "{{atheme_admin_name}}";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1274
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1275
        /* (*)adminemail
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1276
         * The email address of the person running this service.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1277
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1278
        adminemail = "{{atheme_admin_email}}";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1279
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1280
        /* (*)registeremail
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1281
         * The email address that messages should be originated from.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1282
         * If this is not set, then "noreply.$adminemail" will be used.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1283
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1284
        registeremail = "{{atheme_admin_email}}";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1285
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1286
        /* (*)hidden
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1287
         * If this is enabled, Atheme will indicate to the uplink IRCd
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1288
         * that it should not be included in /links output.  This only works
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1289
         * on the following IRCds at present: charybdis, ircd-seven, ratbox.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1290
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1291
        #hidden;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1292
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1293
        /* (*)mta
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1294
         * The full path to your mail transfer agent.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1295
         * This is used for email authorization and password retrieval.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1296
         * Comment this out to disable sending email.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1297
         * Warning: sending email can disclose the IP of your services
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1298
         * unless you take precautions (not discussed here further).
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1299
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1300
        mta = "/usr/sbin/sendmail";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1301
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1302
        /* (*)loglevel
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1303
         * Specify the default categories of logging information to record
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1304
         * in the master Atheme logfile, usually var/atheme.log.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1305
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1306
         * Options include:
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1307
         *      debug, all      - meta-keyword for all possible categories
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1308
         *      trace           - meta-keyword for a little bit of info
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1309
         *      misc            - like trace, but with some more miscellaneous info
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1310
         *      notice          - meta-keyword for notice-like information
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1311
         * ------------------------------------------------------------------------------
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1312
         *      error           - critical errors
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1313
         *      info            - miscillaneous log notices
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1314
         *      verbose         - A bit more verbose than info, not quite as spammy as debug
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1315
         *      commands        - all command use
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1316
         *      admin           - administrative command use
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1317
         *      register        - account and channel registrations
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1318
         *      set             - changes of account or channel settings
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1319
         *      request         - user requests (currently only vhosts)
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1320
         *      network         - log notices related to network status
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1321
         *      rawdata         - log raw data sent and received by services
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1322
         *      wallops         - <not yet used>
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1323
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1324
        loglevel = { error; info; admin; network; wallops; };
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1325
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1326
        /* (*)maxlogins
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1327
         * What is the maximum number of sessions allowed to login to one
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1328
         * username? This reduces potential abuse. It is only checked on login.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1329
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1330
        maxlogins = 5;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1331
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1332
        /* (*)maxusers
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1333
         * What are the maximum usernames that one email address can register?
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1334
         * Set to 0 to disable this check (it can be slow currently).
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1335
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1336
        maxusers = 5;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1337
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1338
        /* (*)mdlimit
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1339
         * How many metadata entries can be added to an object?
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1340
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1341
        mdlimit = 30;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1342
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1343
        /* (*)emaillimit, emailtime
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1344
         * The maximum number of emails allowed to be sent in
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1345
         * that amount of time (seconds). If this is exceeded,
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1346
         * wallops will be sent, at most one per minute.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1347
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1348
        emaillimit = 10;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1349
        emailtime = 300;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1350
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1351
        /* (*)auth
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1352
         * What type of username registration authorization do you want?
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1353
         * If "email", Atheme will send a confirmation email to the address to
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1354
         * ensure it's valid. If registration is not completed within one day,
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1355
         * the username will expire. If "none", no message will be sent and
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1356
         * the username will be fully registered.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1357
         * Valid values are: email, none.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1358
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1359
        auth = none;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1360
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1361
        /* casemapping
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1362
         * Specify the casemapping to use. Almost all TSora (and any that follow
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1363
         * the RFC correctly) ircds will use rfc1459 casemapping. Bahamut, Unreal,
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1364
         * and other ``Dalnet'' ircds will use ascii casemapping.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1365
         * Valid values are: rfc1459, ascii.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1366
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1367
        casemapping = rfc1459;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1368
};
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1369
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1370
/* uplink{} blocks define connections to IRC servers.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1371
 * Multiple may be defined but only one will be used at a time (IRC
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1372
 * being a tree shaped network). Atheme does not currently link over SSL.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1373
 * To link Atheme over ssl, please connect Atheme to a local ircd and have that
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1374
 * connect to your network over SSL.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1375
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1376
uplink "{{atheme_upstream_server}}" {
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1377
        // The server name of the ircd you're linking to goes above.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1378
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1379
        // host
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1380
        // The hostname to connect to.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1381
        host = "127.0.0.1";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1382
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1383
        // vhost
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1384
        // The source IP to connect from, used on machines with multiple interfaces.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1385
        #vhost = "192.0.2.5";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1386
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1387
        // send_password
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1388
        // The password sent for linking.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1389
        send_password = "{{atheme_server_pass}}";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1390
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1391
        // receive_password
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1392
        // The password received for linking.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1393
        receive_password = "{{atheme_server_pass}}";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1394
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1395
        // port
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1396
        // The port to connect to.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1397
        port = 6667;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1398
};
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1399
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1400
/* this is an example for using an IPv6 address as an uplink */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1401
/* uplink "irc6.example.net" {
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1402
        host = "::1";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1403
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1404
        // password
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1405
        // If you want to have same send_password and accept_password, you
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1406
        // can specify both using 'password' instead of individually.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1407
        password = "linkage";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1408
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1409
        port = 6667;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1410
};
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1411
*/
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1412
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1413
/* Services configuration.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1414
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1415
 * Each of these blocks can contain a nick, user, host, real and aliases.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1416
 * Several of them also have options specific to the service.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1417
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1418
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1419
/* NickServ configuration.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1420
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1421
 * The nickserv {} block contains settings specific to the NickServ modules.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1422
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1423
 * NickServ provides nickname or username registration and authentication
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1424
 * services. It provides necessary authentication features required for
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1425
 * Services to operate correctly. You should make sure these settings
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1426
 * are properly configured for your network.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1427
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1428
nickserv {
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1429
        /* (*)spam
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1430
         * Have NickServ tell people about how great it and ChanServ are.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1431
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1432
        spam;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1433
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1434
        /* no_nick_ownership
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1435
         * Enable this to disable nickname ownership (old userserv{}).
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1436
         * This changes changes "nickname" to "account" in most messages,
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1437
         * disables GHOST on users not logged in to the same account and
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1438
         * makes the spam directive ineffective.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1439
         * It is suggested that the nick be set to UserServ, login.so
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1440
         * be loaded instead of identify.so and ghost.so not be loaded.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1441
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1442
        #no_nick_ownership;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1443
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1444
        /* (*)nick
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1445
         * The nickname we want NickServ to have.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1446
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1447
        nick = "NickServ";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1448
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1449
        /* (*)user
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1450
         * The username we want NickServ to have.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1451
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1452
        user = "NickServ";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1453
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1454
        /* (*)host
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1455
         * The hostname we want NickServ to have.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1456
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1457
        host = "{{atheme_server_host}}";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1458
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1459
        /* (*)real
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1460
         * The realname (gecos) information we want NickServ to have.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1461
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1462
        real = "Nickname Services";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1463
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1464
        /* (*)aliases
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1465
         * Command aliases for NickServ.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1466
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1467
        aliases {
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1468
                "ID" = "IDENTIFY";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1469
                "MYACCESS" = "LISTCHANS";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1470
        };
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1471
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1472
        /* (*)access
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1473
         * This block allows you to modify the access level required to run
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1474
         * commands. The list of possible accesses are listed in the operclass
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1475
         * section later in this .conf . Note that you can only set the access
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1476
         * on an actual command, not an alias.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1477
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1478
        access {
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1479
        };
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1480
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1481
        /* (*)maxnicks
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1482
         * If GROUP is loaded, what are the maximum nicknames that one
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1483
         * username can register?
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1484
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1485
        maxnicks = 5;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1486
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1487
        /* (*)expire
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1488
         * The number of days before inactive registrations are expired.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1489
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1490
        expire = 30;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1491
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1492
        /* (*)enforce_expire
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1493
         * The number of days of no use after which to ignore enforcement
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1494
         * settings on nicks.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1495
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1496
        #enforce_expire = 14;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1497
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1498
        /* (*)enforce_delay
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1499
         * The number of seconds to delay nickchange enforcement settings
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1500
         * on nicks.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1501
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1502
        #enforce_delay = 30;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1503
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1504
        /* (*)enforce_prefix
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1505
         * The prefix to use when changing the user's nick on enforcement
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1506
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1507
        #enforce_prefix = "Guest";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1508
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1509
        /* (*)waitreg_time
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1510
         * The amount of time (in seconds) users have to wait between
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1511
         * connecting to the network, and being able to register a services
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1512
         * account. Minimum value 0 (disables the enforced delay), default
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1513
         * value 0, maximum value 43200 (12 hours). Requires the
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1514
         * "modules/nickserv/waitreg" module to be loaded to do anything.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1515
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1516
        #waitreg_time = 0;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1517
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1518
        /* (*)cracklib_dict
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1519
         * The location and filename prefix of the cracklib dictionaries
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1520
         * for use with nickserv/pwquality. This must be provided if you are
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1521
         * going to be using nickserv/pwquality with cracklib support enabled.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1522
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1523
        #cracklib_dict = "/var/cache/cracklib/cracklib_dict";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1524
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1525
        /* (*)passwdqc_*
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1526
         * Please see the passwdqc.conf(5) documentation for an explanation
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1527
         * of these values. Affects modules/nickserv/pwquality if passwdqc
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1528
         * support is enabled. Default values given below.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1529
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1530
        #passwdqc_max = 288;     /* (8 <= value <= 288) */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1531
        #passwdqc_min_n0 = 20;   /* (0 <= value <= passwdqc_max) */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1532
        #passwdqc_min_n1 = 16;   /* (0 <= value <= passwdqc_min_n0) */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1533
        #passwdqc_min_n2 = 16;   /* (0 <= value <= passwdqc_min_n1) */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1534
        #passwdqc_min_n3 = 12;   /* (0 <= value <= passwdqc_min_n2) */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1535
        #passwdqc_min_n4 = 8;    /* (0 <= value <= passwdqc_min_n3) */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1536
        #passwdqc_words = 4;     /* (2 <= value <= 8) */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1537
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1538
        /* (*)pwquality_warn_only
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1539
         * If this option is set and nickserv/pwquality is loaded, nickserv will just
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1540
         * warn users that their password is insecure, recommend they change it and
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1541
         * still register the nick. If this option is unset, it will refuse to
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1542
         * register the nick at all until the user chooses a better password.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1543
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1544
        #pwquality_warn_only;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1545
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1546
        /* (*)show_custom_metadata
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1547
         * Setting this option to false will prevent user-set metadata (via SET PROPERTY)
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1548
         * from showing up in the INFO output. The TAXONOMY command will still function
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1549
         * as usual, and INFO will point this out if users have metadata set.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1550
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1551
        show_custom_metadata;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1552
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1553
        /* (*)emailexempts
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1554
         * A list of email addresses that will be exempt from the check of how many
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1555
         * accounts one user may have. Any email address in this block may register
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1556
         * an unlimited number of accounts/usernames.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1557
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1558
        emailexempts {
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1559
        };
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1560
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1561
        /*
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1562
         * (*)shorthelp
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1563
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1564
         * A list of commands that are displayed (with their full description) in the
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1565
         * output of `/msg NickServ HELP'. Commands not in this list will be listed, but
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1566
         * not with their descriptions. All commands with descriptions are still listed
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1567
         * in `/msg NickServ HELP COMMANDS' regardless of the value set here.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1568
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1569
         * Optional; defaults to "ACCESS CERT DROP GHOST GROUP IDENTIFY INFO LISTCHANS
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1570
         * LISTGROUPS LISTLOGINS LISTOWNMAIL LOGOUT REGAIN REGISTER RELEASE SENDPASS SET
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1571
         * UNGROUP".
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1572
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1573
         * A command in this list will only be printed if the corresponding module is
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1574
         * loaded and the user has permission to use it. Set to an empty string to
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1575
         * disable listing command descriptions in `/msg NickServ HELP'.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1576
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1577
        #shorthelp = "";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1578
};
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1579
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1580
/* ChanServ configuration.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1581
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1582
 * The chanserv {} block contains settings specific to the ChanServ modules.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1583
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1584
 * ChanServ provides channel registration services, which allows users to own
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1585
 * channels. It is not required, but is strongly recommended.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1586
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1587
chanserv {
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1588
        /* (*)nick
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1589
         * The nickname we want the client to have.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1590
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1591
        nick = "ChanServ";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1592
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1593
        /* (*)user
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1594
         * The username we want the client to have.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1595
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1596
        user = "ChanServ";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1597
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1598
        /* (*)host
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1599
         * The hostname we want the client to have.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1600
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1601
        host = "{{atheme_server_host}}";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1602
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1603
        /* (*)real
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1604
         * The GECOS of the client.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1605
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1606
        real = "Channel Services";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1607
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1608
        /* reggroup
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1609
         * The group that will receive Memos about
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1610
         * channel Registration requests when
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1611
         * chanserv/moderate is loaded.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1612
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1613
        #reggroup = "!Services-Team";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1614
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1615
        /* (*)aliases
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1616
         * Command aliases for ChanServ.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1617
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1618
        aliases {
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1619
        };
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1620
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1621
        /* (*)access
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1622
         * Command access changes for ChanServ.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1623
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1624
        access {
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1625
        };
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1626
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1627
        /* (*)maxchans
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1628
         * What are the maximum channels that one username can register?
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1629
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1630
        maxchans = 5;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1631
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1632
        /* fantasy
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1633
         * Do you want to enable fantasy commands? This can
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1634
         * use a lot of CPU up, and will only work if you have
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1635
         * join_chans (in general) enabled as well.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1636
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1637
        fantasy;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1638
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1639
        /* (*) hide_xop
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1640
         * Hide the XOP templates from sight.  This is useful if you
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1641
         * want to use templates and not have the XOP templates displayed.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1642
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1643
        #hide_xop;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1644
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1645
        /* (*) templates
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1646
         * Defines what flags the global templates comprise.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1647
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1648
         * For the special XOP templates:
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1649
         * These should all be different and not equal to the empty set,
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1650
         * except that hop may be equal to vop to disable hop.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1651
         * Each subsequent level should have more flags (except +VHO).
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1652
         * For optimal functioning of /cs forcexop, aop should not have
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1653
         * any of +sRf, hop should not have any of +sRfoOr and vop should
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1654
         * not have any of +sRfoOrhHt.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1655
         * If this is not specified, the values of Atheme 0.3 are used,
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1656
         * which are generally less intuitive than these.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1657
         * Note: changing these leaves the flags of existing channel access
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1658
         * entries unchanged, thus removing them of the view of /cs xop list.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1659
         * Usually the channel founder can use /cs forcexop to update the
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1660
         * entries to the new levels.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1661
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1662
         * Advice:
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1663
         * If you want to add a co-founder role, remove the flags permission
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1664
         * from the SOP role, and define a co-founder role with flags
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1665
         * permissions.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1666
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1667
        templates {
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1668
                vop = "+AV";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1669
                hop = "+AHehitrv";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1670
                aop = "+AOehiortv";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1671
                sop = "+AOaefhiorstv";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1672
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1673
                founder = "+AFORaefhioqrstv";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1674
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1675
                /* some examples (which are commented out...) */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1676
                #member = "+Ai";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1677
                #op = "+AOiortv";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1678
        };
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1679
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1680
        /* (*) deftemplates
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1681
         * Defines default templates to set on new channels, as a
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1682
         * space-separated list of name=+flags pairs.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1683
         * Note: at this time no syntax checking is done on this; it
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1684
         * is your own responsibility to make sure it is correct.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1685
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1686
        #deftemplates = "MEMBER=+Ai OP=+AOiortv";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1687
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1688
        /* (*) changets
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1689
         * Change the channel TS to the registration time when someone
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1690
         * recreates a registered channel, ensuring that they are deopped
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1691
         * and all their modes are undone. Note that this involves ChanServ
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1692
         * joining. When the channel was not recreated no deops will be done
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1693
         * (apart from the SECURE option).
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1694
         * This also solves the "join-mode" problem where someone recreates
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1695
         * a registered channel and then sets some modes before they are
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1696
         * deopped.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1697
         * This is currently supported for charybdis, ratbox, bahamut,
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1698
         * and inspircd 1.1+. For charybdis and ratbox it only fully
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1699
         * works with TS6, with TS5 bans and last-moment modes will
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1700
         * still apply.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1701
         * (That can also be used to advantage, when first enabling this.)
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1702
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1703
        #changets;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1704
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1705
        /* (*) trigger
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1706
         * This setting allows you to change the trigger prefix for
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1707
         * ChanServ's in-channel command feature (disableable via chanserv::fantasy).
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1708
         * If no setting is provided, the default is used, which is "!".
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1709
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1710
         * Other settings you could consider trying: ".", "~", "?", "`", "'".
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1711
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1712
        trigger = "!";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1713
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1714
        /* (*)expire
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1715
         * The number of days before inactive registrations are expired.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1716
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1717
        expire = 30;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1718
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1719
        /* (*)maxchanacs
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1720
         * The maximum number of entries allowed in a channel's access list
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1721
         * (both channel ops and akicks), 0 for unlimited.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1722
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1723
        maxchanacs = 0;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1724
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1725
        /* (*)maxfounders
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1726
         * The maximum number of founders allowed in a channel.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1727
         * Note that all founders have the exact same privileges and
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1728
         * the list of founders is shown in various places.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1729
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1730
        maxfounders = 4;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1731
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1732
        /* (*)founder_flags
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1733
         * The flags a user will get when they register a new channel.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1734
         * This MUST include at least 'F' or it will be ignored.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1735
         * If it is not set, Atheme will give the user all channel flags.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1736
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1737
        #founder_flags = "AFORefiorstv";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1738
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1739
        /* (*)akick_time
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1740
         * The default expiration time (in minutes) for AKICKs.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1741
         * Comment this option out or set to zero for permanent AKICKs
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1742
         * by default (the old behaviour).
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1743
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1744
        #akick_time = 10;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1745
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1746
        /* (*)antiflood_enforce_method
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1747
         * The enforcement method to use for flood protection by default.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1748
         * This may be overridden by channel staff.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1749
         * Available options are: quiet, kickban and akill.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1750
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1751
        antiflood_enforce_method = quiet;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1752
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1753
        /* (*)show_custom_metadata
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1754
         * Setting this option to false will prevent user-set metadata (via SET PROPERTY)
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1755
         * from showing up in the INFO output. The TAXONOMY command will still function
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1756
         * as usual, and INFO will point this out if channels have metadata set.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1757
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1758
        show_custom_metadata;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1759
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1760
        /*
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1761
         * (*)shorthelp
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1762
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1763
         * A list of commands that are displayed (with their full description) in the
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1764
         * output of `/msg ChanServ HELP'. Commands not in this list will be listed, but
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1765
         * not with their descriptions. All commands with descriptions are still listed
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1766
         * in `/msg ChanServ HELP COMMANDS' regardless of the value set here.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1767
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1768
         * Optional; defaults to "AKICK BAN CLEAR DEOP DEVOICE DROP FLAGS GETKEY INFO
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1769
         * INVITE KICK KICKBAN OP QUIET REGISTER SET TOPIC UNBAN UNQUIET VOICE WHY".
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1770
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1771
         * A command in this list will only be printed if the corresponding module is
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1772
         * loaded and the user has permission to use it. Set to an empty string to
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1773
         * disable listing command descriptions in `/msg ChanServ HELP'.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1774
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1775
        #shorthelp = "";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1776
};
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1777
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1778
/* CHANFIX configuration.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1779
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1780
 * The chanfix {} block contains settings specific to the CHANFIX modules.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1781
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1782
 * CHANFIX provides channel recovery services without registration, which
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1783
 * allows users to maintain control of channels even if ChanServ is not used
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1784
 * to register them.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1785
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1786
chanfix {
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1787
        /* (*)nick
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1788
         * The nickname we want the client to have.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1789
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1790
        nick = "ChanFix";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1791
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1792
        /* (*)user
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1793
         * The username we want the client to have.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1794
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1795
        user = "ChanFix";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1796
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1797
        /* (*)host
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1798
         * The hostname we want the client to have.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1799
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1800
        host = "{{atheme_server_host}}";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1801
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1802
        /* (*)real
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1803
         * The GECOS of the client.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1804
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1805
        real = "Channel Fixing Service";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1806
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1807
        /* (*)autofix
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1808
         * Automatically fix channels if they become opless and meet fixing
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1809
         * criteria.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1810
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1811
        autofix;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1812
};
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1813
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1814
/* Global noticing configuration.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1815
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1816
 * The global {} block contains settings specific to the Global notice module.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1817
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1818
 * The Global notice module provides the ability to mass-notify a network.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1819
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1820
global {
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1821
        /* (*)nick
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1822
         * Sets the nick used for sending out a global notice.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1823
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1824
        nick = "Global";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1825
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1826
        /* (*)user
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1827
         * Sets the username used for this client.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1828
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1829
        user = "Global";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1830
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1831
        /* (*)host
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1832
         * The hostname used for this client.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1833
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1834
        host = "{{atheme_server_host}}";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1835
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1836
        /* (*)real
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1837
         * The GECOS (real name) of the client.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1838
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1839
        real = "Network Announcements";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1840
};
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1841
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1842
/* InfoServ configuration
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1843
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1844
 * The infoserv {} block contains settings specific to the InfoServ module.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1845
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1846
 * The InfoServ modules provides the ability to mass-notify a network and send
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1847
 * news to users when they connect to the network.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1848
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1849
infoserv {
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1850
        /* (*)nick
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1851
         * Sets the nick used for InfoServ and sending out informational messages.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1852
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1853
        nick = "InfoServ";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1854
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1855
        /* (*)user
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1856
         * Sets the username used for this client.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1857
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1858
        user = "InfoServ";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1859
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1860
        /* (*)host
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1861
         * The hostname used for this client,
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1862
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1863
        host = "{{atheme_server_host}}";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1864
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1865
        /* (*)real
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1866
         * The GECOS (real name) of the client.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1867
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1868
        real = "Information Service";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1869
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1870
        /* (*)logoninfo_count
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1871
         * The number of InfoServ messages a user will see upon connect.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1872
         * If there are more than this number, the user will be able to
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1873
         * see the rest with /msg infoserv list .
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1874
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1875
        logoninfo_count = 3;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1876
};
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1877
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1878
/* OperServ configuration.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1879
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1880
 * The operserv {} block contains settings specific to the OperServ modules.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1881
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1882
 * OperServ provides essential network management tools for IRC operators
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1883
 * on the IRC network.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1884
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1885
operserv {
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1886
        /* (*)nick
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1887
         * The nickname we want the Operator Service to have.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1888
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1889
        nick = "OperServ";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1890
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1891
        /* (*)user
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1892
         * Sets the username used for this client.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1893
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1894
        user = "OperServ";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1895
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1896
        /* (*)host
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1897
         * The hostname used for this client.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1898
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1899
        host = "{{atheme_server_host}}";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1900
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1901
        /* (*)real
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1902
         * The GECOS (real name) of the client.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1903
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1904
        real = "Operator Services";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1905
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1906
        /* (*)aliases
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1907
         * Command aliases for OperServ.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1908
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1909
        aliases {
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1910
        };
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1911
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1912
        /* (*)access
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1913
         * Command access changes for OperServ.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1914
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1915
        access {
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1916
        };
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1917
};
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1918
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1919
/* SaslServ configuration.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1920
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1921
 * The saslserv {} block contains settings specific to the SaslServ modules.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1922
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1923
 * SaslServ provides an authentication agent which is compatible with the
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1924
 * SASL over IRC (SASL/IRC) protocol extension.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1925
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1926
saslserv {
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1927
        /* (*)nick
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1928
         * The nickname we want SaslServ to have.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1929
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1930
        nick = "SaslServ";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1931
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1932
        /* (*)user
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1933
         * The username we want SaslServ to have.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1934
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1935
        user = "SaslServ";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1936
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1937
        /* (*)host
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1938
         * The hostname we want SaslServ to have.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1939
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1940
        host = "{{atheme_server_host}}";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1941
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1942
        /* (*)real
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1943
         * The realname (gecos) information we want SaslServ to have.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1944
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1945
        real = "SASL Authentication Agent";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1946
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1947
        /* (*)hide_server_names
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1948
         * Hide server names in the bad_password message.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1949
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1950
        #hide_server_names;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1951
};
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1952
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1953
/* MemoServ configuration.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1954
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1955
 * The memoserv {} block contains settings specific to the MemoServ modules.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1956
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1957
 * MemoServ provides a note-taking service that you can use to send notes
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1958
 * to offline users (provided they are registered with Services).
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1959
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1960
memoserv {
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1961
        /* (*)nick
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1962
         * The nickname we want MemoServ to have.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1963
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1964
        nick = "MemoServ";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1965
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1966
        /* (*)user
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1967
         * The username we want MemoServ to have.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1968
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1969
        user = "MemoServ";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1970
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1971
        /* (*)host
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1972
         * The hostname we want MemoServ to have.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1973
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1974
        host = "{{atheme_server_host}}";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1975
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1976
        /* (*)real
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1977
         * The realname (gecos) information we want MemoServ to have.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1978
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1979
        real = "Memo Services";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1980
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1981
        /* (*)aliases
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1982
         * Command aliases for MemoServ.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1983
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1984
        aliases {
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1985
        };
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1986
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1987
        /* (*)access
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1988
         * Command access changes for MemoServ.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1989
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1990
        access {
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1991
        };
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1992
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1993
        /* (*)maxmemos
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1994
         * What is the maximum amount of memos a user can have in their inbox?
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1995
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1996
        maxmemos = 30;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1997
};
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1998
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  1999
/* GameServ configuration.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2000
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2001
 * The gameserv {} block contains settings specific to the GameServ modules.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2002
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2003
 * GameServ provides various in-channel commands for games.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2004
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2005
gameserv {
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2006
        /* (*)nick
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2007
         * The nickname we want GameServ to have.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2008
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2009
        nick = "GameServ";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2010
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2011
        /* (*)user
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2012
         * Sets the username used for this client.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2013
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2014
        user = "GameServ";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2015
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2016
        /* (*)host
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2017
         * The hostname used for this client.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2018
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2019
        host = "{{atheme_server_host}}";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2020
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2021
        /* (*)real
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2022
         * The GECOS (real name) of the client.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2023
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2024
        real = "Game Services";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2025
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2026
        /* (*)aliases
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2027
         * Command aliases for GameServ.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2028
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2029
        aliases {
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2030
        };
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2031
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2032
        /* (*)access
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2033
         * Command access changes for GameServ.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2034
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2035
        access {
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2036
        };
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2037
};
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2038
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2039
/* RPGServ configuration.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2040
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2041
 * The rpgserv {} block contains settings specific to the RPGServ modules.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2042
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2043
 * RPGServ provides a facility for finding roleplaying channels.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2044
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2045
rpgserv {
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2046
        /* (*)nick
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2047
         * The nickname we want RPGServ to have.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2048
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2049
        nick = "RPGServ";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2050
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2051
        /* (*)user
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2052
         * Sets the username used for this client.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2053
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2054
        user = "RPGServ";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2055
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2056
        /* (*)host
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2057
         * The hostname used for this client.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2058
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2059
        host = "{{atheme_server_host}}";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2060
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2061
        /* (*)real
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2062
         * The GECOS (real name) of the client.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2063
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2064
        real = "RPG Finding Services";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2065
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2066
        /* (*)aliases
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2067
         * Command aliases for RPGServ.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2068
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2069
        aliases {
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2070
        };
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2071
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2072
        /* (*)access
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2073
         * Command access changes for RPGServ.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2074
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2075
        access {
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2076
        };
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2077
};
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2078
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2079
/* BotServ configuration.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2080
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2081
 * The botserv {} block contains settings specific to the BotServ modules.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2082
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2083
 * BotServ provides virtual channel bots.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2084
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2085
botserv {
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2086
        /* (*)nick
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2087
         * The nickname we want BotServ to have.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2088
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2089
        nick = "BotServ";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2090
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2091
        /* (*)user
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2092
         * Sets the username used for this client.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2093
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2094
        user = "BotServ";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2095
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2096
        /* (*)host
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2097
         * The hostname used for this client.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2098
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2099
        host = "{{atheme_server_host}}";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2100
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2101
        /* (*)real
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2102
         * The GECOS (real name) of the client.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2103
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2104
        real = "Bot Services";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2105
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2106
        /* (*)min_users
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2107
         * Minimum number of users a channel must have before a Bot is allowed
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2108
         * to be assigned to that channel.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2109
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2110
        min_users = 0;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2111
};
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2112
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2113
/* GroupServ configuration.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2114
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2115
 * The groupserv {} block contains settings specific to the GroupServ modules.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2116
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2117
 * GroupServ provides features for managing a collection of channels at once.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2118
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2119
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2120
groupserv {
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2121
        /* (*)nick
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2122
         * The nickname we want GroupServ to have.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2123
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2124
        nick = "GroupServ";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2125
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2126
        /* (*)user
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2127
         * The username we want GroupServ to have.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2128
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2129
        user = "GroupServ";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2130
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2131
        /* (*)host
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2132
         * The hostname we want GroupServ to have.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2133
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2134
        host = "{{atheme_server_host}}";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2135
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2136
        /* (*)real
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2137
         * The realname (gecos) information we want GroupServ to have.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2138
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2139
        real = "Group Management Services";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2140
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2141
        /* (*)aliases
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2142
         * Command aliases for GroupServ.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2143
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2144
        aliases {
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2145
        };
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2146
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2147
        /* (*)access
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2148
         * Command access changes for GroupServ.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2149
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2150
        access {
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2151
        };
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2152
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2153
        /* (*)maxgroups
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2154
         * Maximum number of groups one username can be founder of.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2155
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2156
        maxgroups = 5;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2157
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2158
        /* (*)maxgroupacs
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2159
         * Maximum number of access entries you may have in a group.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2160
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2161
        maxgroupacs = 100;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2162
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2163
        /* (*)enable_open_groups
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2164
         * Setting this option will allow any group founder to mark
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2165
         * their group as "anyone can join".
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2166
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2167
        enable_open_groups;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2168
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2169
        /* (*)join_flags
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2170
         * This is the GroupServ flagset that users who JOIN a open
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2171
         * group will get upon join. Please check the groupserv/flags
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2172
         * helpfile before changing this option. Valid flagsets (for
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2173
         * example) would be: "+v" or "+cv". It is not valid to use
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2174
         * minus flags (such as "-v") here.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2175
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2176
        join_flags = "+";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2177
};
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2178
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2179
/* HostServ configuration.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2180
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2181
 * The hostserv {} block contains settings specific to the HostServ modules.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2182
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2183
 * HostServ provides advanced virtual host management.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2184
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2185
hostserv {
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2186
        /* (*)nick
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2187
         * The nickname we want HostServ to have.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2188
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2189
        nick = "HostServ";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2190
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2191
        /* (*)user
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2192
         * Sets the username used for this client.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2193
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2194
        user = "HostServ";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2195
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2196
        /* (*)host
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2197
         * The hostname used for this client.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2198
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2199
        host = "{{atheme_server_host}}";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2200
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2201
        /* (*)real
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2202
         * The GECOS (real name) of the client.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2203
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2204
        real = "Host Management Services";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2205
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2206
        /* reggroup
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2207
         * The group that will receive Memos about
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2208
         * vHost requests.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2209
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2210
        #reggroup = "!Services-Team";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2211
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2212
        /* (*)request_per_nick
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2213
         * Whether the request system should work per nick or per account.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2214
         * The recommended setting is to leave this disabled, so that
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2215
         * vhosts work as consistently as possible.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2216
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2217
        #request_per_nick;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2218
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2219
        /* (*)aliases
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2220
         * Command aliases for HostServ.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2221
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2222
        aliases {
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2223
                "APPROVE" = "ACTIVATE";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2224
                "DENY" = "REJECT";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2225
        };
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2226
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2227
        /* (*)access
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2228
         * Command access changes for HostServ.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2229
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2230
        access {
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2231
        };
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2232
};
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2233
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2234
/* HelpServ configuration
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2235
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2236
 * The helpserv {} block contains settings specific to the HelpServ modules.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2237
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2238
 * HelpServ adds a few different ways for users to request help from network staff.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2239
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2240
helpserv {
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2241
        /* (*)nick
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2242
         * The nickname we want HelpServ to have.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2243
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2244
        nick = "HelpServ";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2245
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2246
        /* (*)user
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2247
         * The username we want HelpServ to have.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2248
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2249
        user = "HelpServ";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2250
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2251
        /* (*)host
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2252
         * The hostname we want HelpServ to have.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2253
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2254
        host = "{{atheme_server_host}}";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2255
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2256
        /* (*)real
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2257
         * The realname (gecos) information we want HelpServ to have.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2258
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2259
        real = "Help Services";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2260
};
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2261
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2262
/* StatServ configuration
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2263
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2264
 * The statserv {} block contains settings specific to the StatServ modules.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2265
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2266
 * StatServ adds basic stats and split tracking.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2267
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2268
statserv {
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2269
        /* (*)nick
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2270
         * The nickname we want StatServ to have.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2271
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2272
        nick = "StatServ";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2273
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2274
        /* (*)user
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2275
         * The username we want StatServ to have.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2276
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2277
        user = "StatServ";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2278
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2279
        /* (*)host
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2280
         * The hostname we want StatServ to have.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2281
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2282
        host = "{{atheme_server_host}}";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2283
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2284
        /* (*)real
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2285
         * The realname (gecos) information we want StatServ to have.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2286
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2287
        real = "Statistics Services";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2288
};
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2289
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2290
/* ALIS configuration.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2291
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2292
 * The alis {} block contains settings specific to the ALIS modules.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2293
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2294
alis {
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2295
        /* (*)nick
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2296
         * The nickname we want ALIS to have.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2297
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2298
        nick = "ALIS";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2299
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2300
        /* (*)user
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2301
         * The username we want ALIS to have.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2302
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2303
        user = "alis";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2304
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2305
        /* (*)host
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2306
         * The hostname we want ALIS to have.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2307
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2308
        host = "{{atheme_server_host}}";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2309
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2310
        /* (*)real
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2311
         * The realname (gecos) information we want ALIS to have.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2312
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2313
        real = "Channel Directory";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2314
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2315
        /* (*)maxmatches
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2316
         * The default maximum number of channels returned in a query.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2317
         * Privilege (chan:auspex) is required to ask for more.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2318
         * Minimum 8, default 64, maximum 128.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2319
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2320
        #maxmatches = 64;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2321
};
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2322
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2323
/* HTTP server configuration.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2324
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2325
 * The httpd {} block contains settings specific to the HTTP server module.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2326
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2327
 * The HTTP server in Services is used for serving XMLRPC requests. It can
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2328
 * also serve static documents and statistics pages.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2329
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2330
httpd {
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2331
        /* host
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2332
         * The host that the HTTP server will listen on.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2333
         * Use 0.0.0.0 if you want to listen on all available hosts.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2334
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2335
        host = "0.0.0.0";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2336
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2337
        /* host (ipv6)
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2338
         * If you want, you can have Atheme listen on an IPv6 host too.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2339
         * Use :: if you want to listen on all available IPv6 hosts.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2340
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2341
        #host = "::";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2342
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2343
        /* www_root
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2344
         * The directory that contains the files that should be served by the httpd.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2345
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2346
        www_root = "/var/www";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2347
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2348
        /* port
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2349
         * The port that the HTTP server will listen on.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2350
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2351
        port = 8080;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2352
};
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2353
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2354
/* LDAP configuration.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2355
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2356
 * The ldap {} block contains settings specific to the LDAP authentication
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2357
 * module.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2358
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2359
ldap {
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2360
        /* (*)url
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2361
         * LDAP URL of the server to use.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2362
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2363
        url = "ldap://127.0.0.1";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2364
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2365
        /* (*)dnformat
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2366
         * Format string to convert an account name to an LDAP DN.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2367
         * Must contain exactly one %s which will be replaced by the account
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2368
         * name.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2369
         * Services will attempt a simple bind with this DN and the given
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2370
         * password; if this is successful the password is considered correct.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2371
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2372
        dnformat = "cn=%s,dc=jillestest,dc=com";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2373
};
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2374
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2375
/******************************************************************************
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2376
 * LOGGING SECTION.                                                           *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2377
 ******************************************************************************/
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2378
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2379
/*
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2380
 * logfile{} blocks can be used to set up log files other than the master
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2381
 * logfile used by services, which is controlled by serverinfo::loglevel.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2382
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2383
 * The various logging categories are:
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2384
 *      debug, all      - meta-keyword for all possible categories
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2385
 *      trace           - meta-keyword for a little bit of info
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2386
 *      misc            - like trace, but with some more miscillaneous info
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2387
 *      notice          - meta-keyword for notice-like information
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2388
 * ------------------------------------------------------------------------------
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2389
 *      error           - critical errors
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2390
 *      info            - miscillaneous log notices
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2391
 *      verbose         - A bit more verbose than info, not quite as spammy as debug
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2392
 *      commands        - all command use
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2393
 *      admin           - administrative command use
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2394
 *      register        - account and channel registrations
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2395
 *      set             - changes of account or channel settings
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2396
 *      request         - user requests (currently only vhosts)
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2397
 *      network         - log notices related to network status
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2398
 *      rawdata         - log raw data sent and received by services
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2399
 *      wallops         - <not yet used>
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2400
 *      denycmd         - security model denials (commands, permissions)
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2401
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2402
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2403
/*
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2404
 * This block logs all account and channel registrations and drops,
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2405
 * and account and channel setting changes to var/account.log.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2406
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2407
logfile "var/account.log" { register; set; };
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2408
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2409
/*
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2410
 * This block logs all command use to var/commands.log.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2411
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2412
logfile "var/commands.log" { commands; };
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2413
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2414
/*
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2415
 * This block logs all security auditing information.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2416
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2417
logfile "var/audit.log" { denycmd; };
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2418
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2419
/*
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2420
 * You can log to IRC channels, and even split it by category, too.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2421
 * This entry provides roughly the same functionality as the old snoop
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2422
 * feature.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2423
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2424
logfile "#services" { error; info; admin; request; register; denycmd; };
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2425
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2426
/*
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2427
 * This block logs to server notices.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2428
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2429
logfile "!snotices" { error; info; request; denycmd; };
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2430
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2431
/******************************************************************************
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2432
 * GENERAL PARAMETERS CONFIGURATION SECTION.                                  *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2433
 ******************************************************************************/
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2434
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2435
/* The general {} block defines general configuration options. */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2436
general {
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2437
        /* (*)permissive_mode
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2438
         * Whether or not security denials should be soft denials instead of
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2439
         * hard denials.  If security denials are soft denials, then they will
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2440
         * only be logged to the denial log.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2441
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2442
        #permissive_mode;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2443
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2444
        /* (*)helpchan
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2445
         * Network help channel. Shown to users when they request
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2446
         * help for a command that doesn't exist.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2447
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2448
        #helpchan = "#help";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2449
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2450
        /* (*)helpurl
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2451
         * Network webpage for services help. Shown to users when they
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2452
         * request help for a command that doesn't exist.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2453
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2454
        #helpurl = "http://www.stack.nl/~jilles/irc/atheme-help/";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2455
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2456
        /* (*)silent
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2457
         * If you want to prevent services from sending
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2458
         * WALLOPS/GLOBOPS about things uncomment this.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2459
         * Not recommended.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2460
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2461
        #silent;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2462
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2463
        /* (*)verbose_wallops
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2464
         * If you want services to send you more information about
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2465
         * events that are occuring (in particular AKILLs), uncomment the
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2466
         * directive below.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2467
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2468
         * WARNING! This may result in large amounts of wallops/globops
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2469
         * floods.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2470
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2471
        #verbose_wallops;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2472
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2473
        /* (*)join_chans
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2474
         * Should ChanServ be allowed to join registered channels?
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2475
         * This option is useful for the fantasy command set.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2476
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2477
         * If enabled, you can tell ChanServ to join via SET GUARD ON.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2478
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2479
         * If you use ircu-like ircd (asuka), you must
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2480
         * leave this enabled, and put guard in default cflags.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2481
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2482
         * For ratbox it is recommended to leave it on and put guard in
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2483
         * default cflags, in order that ChanServ does not have to join/part
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2484
         * to do certain things. On the other hand, enabling this increases
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2485
         * potential for bots fighting with ChanServ.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2486
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2487
         * Regardless of this option, ChanServ will temporarily join
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2488
         * channels which would otherwise be empty if necessary to enforce
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2489
         * akick/restricted/close, and to change the TS if changets is
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2490
         * enabled.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2491
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2492
        join_chans;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2493
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2494
        /* (*)leave_chans
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2495
         * Do we leave registered channels after everyone else has left?
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2496
         * Turning this off serves little purpose, except to mark "official"
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2497
         * network channels by keeping them open, and to preserve the
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2498
         * topic and +beI lists.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2499
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2500
        leave_chans;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2501
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2502
        /* secure
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2503
         * Do you want to require the use of /msg <service>@<services host>?
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2504
         * Turning this on helps protect against spoofers, but is disabled
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2505
         * as most networks do not presently use it.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2506
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2507
        #secure;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2508
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2509
        /* (*)uflags
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2510
         * The default flags to set for usernames upon registration.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2511
         * Valid values are: hold, neverop, noop, hidemail, nomemo, emailmemos,
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2512
         * enforce, privmsg, private, quietchg and none.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2513
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2514
        uflags = { hidemail; };
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2515
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2516
        /* (*)cflags
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2517
         * The default flags to set for channels upon registration.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2518
         * Valid values are: hold, secure, verbose, verbose_ops, keeptopic,
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2519
         * topiclock, guard, private, nosync, limitflags, pubacl and none.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2520
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2521
        cflags = { verbose; guard; };
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2522
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2523
        /* (*)raw
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2524
         * Do you want to allow SRAs to use the RAW and INJECT commands?
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2525
         * These commands are for debugging. If you don't know how to use them
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2526
         * then don't enable them. They are not supported.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2527
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2528
        #raw;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2529
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2530
        /* (*)flood_msgs
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2531
         * Do you want services to detect floods?
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2532
         * Set to how many messages before a flood is triggered.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2533
         * Note that some messages that need a lot of processing count
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2534
         * as two or four messages.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2535
         * If services receives `flood_msgs' within `flood_time' the user will
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2536
         * trigger the flood protection.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2537
         * Setting this to zero disables flood protection.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2538
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2539
        flood_msgs = 7;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2540
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2541
        /* (*)flood_time
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2542
         * Do you want services to detect floods?
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2543
         * Set to how long before the counter resets.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2544
         * If services receives `flood_msgs' within `flood_time' the user will
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2545
         * trigger the flood protection.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2546
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2547
        flood_time = 10;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2548
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2549
        /* (*)ratelimit_uses
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2550
         * After how many uses of a command will users be throttled.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2551
         * After `ratelimit_uses' of a command within `ratelimit_period', users
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2552
         * will not be able to run that ratelimited command until the period is up.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2553
         * Comment this, ratelimit_period below or both options out to disable rate limiting.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2554
         * Currently used in helpserv/helpme, helpserv/ticket, hostserv/request,
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2555
         * nickserv/register and chanserv/register.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2556
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2557
        ratelimit_uses = 5;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2558
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2559
        /* (*)ratelimit_period
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2560
         * After how much time (in seconds) will the ratelimit_uses counter reset.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2561
         * After `ratelimit_uses' of a command within `ratelimit_period', users
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2562
         * will not be able to run that ratelimited command until the period is up.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2563
         * Comment this, ratelimit_uses above or both options out to disable rate limiting.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2564
         * Currently used in helpserv/helpme, helpserv/ticket, hostserv/request,
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2565
         * nickserv/register and chanserv/register.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2566
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2567
        ratelimit_period = 60;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2568
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2569
        /* (*)vhost_change
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2570
         * The default number of days between vHost changes once a user has used HostServ
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2571
         * TAKE or REQUEST.  (Helps to deter rabid host-swappers and ban evaders.)
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2572
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2573
        #vhost_change = 30;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2574
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2575
        /* (*)kline_time
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2576
         * The default expire time for KLINE's in days.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2577
         * Setting this to 0 makes all KLINE's permanent.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2578
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2579
        kline_time = 7;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2580
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2581
        /* (*)kline_with_ident
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2582
         * KLINE user@host instead of *@host.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2583
         * Applies to all automatic KLINE's set by services.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2584
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2585
        #kline_with_ident;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2586
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2587
        /* (*)kline_verified_ident
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2588
         * KLINE *@host if the first character of the ident is ~,
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2589
         * irrespective of the value of kline_with_ident.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2590
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2591
        #kline_verified_ident;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2592
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2593
        /* (*)clone_time
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2594
         * This is the default expiry time for CLONE exemptions in minutes.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2595
         * Setting this to 0 makes all CLONE exemptions permanent.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2596
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2597
        clone_time = 0;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2598
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2599
        /* commit_interval
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2600
         * The time between database writes in minutes.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2601
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2602
        commit_interval = 5;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2603
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2604
        /* (*)operstring
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2605
         * The string returned in WHOIS (against services) for IRC operators.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2606
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2607
        #operstring = "is an IRC Operator";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2608
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2609
        /* (*)servicestring
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2610
         * The string returned in WHOIS (against services) for services.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2611
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2612
        #servicestring = "is a Network Service";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2613
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2614
        /* (*)default_clone_allowed
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2615
         * The limit after which clones will be KILLed or TKLINEd.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2616
         * Used by operserv/clones.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2617
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2618
        default_clone_allowed = 5;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2619
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2620
        /* (*)default_clone_warn
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2621
         * The limit after which clones will be warned that they may not
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2622
         * have any more concurrent connections. Should be lower than
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2623
         * default_clone_allowed . Used by operserv/clones.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2624
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2625
        default_clone_warn = 4;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2626
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2627
        /* (*)clone_identified_increase_limit
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2628
         * If this option is enabled, the clone limit for a IP/host will
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2629
         * be increased by 1 per clone that's identified to services.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2630
         * This has a limit of double the clone limits above.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2631
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2632
        clone_identified_increase_limit;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2633
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2634
        /* (*)uplink_sendq_limit
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2635
         * The maximum amount of data that may be queued to be sent
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2636
         * to the uplink, in bytes. This should be enough to contain
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2637
         * Atheme's response to the netburst, but smaller than the
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2638
         * IRCd's sendq limit for servers.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2639
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2640
        uplink_sendq_limit = 1048576;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2641
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2642
        /* (*)language
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2643
         * Language to use for channel and oper messages and as default
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2644
         * for users.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2645
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2646
        language = "en";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2647
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2648
        /* exempts
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2649
         * This block contains a list of user@host masks. Users matching any
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2650
         * of these will not be automatically K:lined by services.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2651
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2652
        exempts {
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2653
        };
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2654
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2655
        /* allow_taint
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2656
         * By enabling this option, Atheme will run in configurations where
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2657
         * the upstream will not provide support.  By enabling this feature,
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2658
         * you void any perceived rights to support.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2659
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2660
        #allow_taint;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2661
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2662
        /* (*)immune_level
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2663
         * This option allows you to customize the operlevel which gets kick
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2664
         * immunity privileges.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2665
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2666
         * The following flags are available:
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2667
         *    immune - require whatever ircd usermode is needed for kick
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2668
         *             immunity (this is the default);
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2669
         *    admin  - require admin privileges for kick immunity
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2670
         *    ircop  - require any ircop privileges for kick immunity (umode +o)
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2671
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2672
        immune_level = immune;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2673
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2674
        /* show_entity_id
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2675
         * This makes nick/user & group entity IDs visible to everyone, rather
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2676
         * than just opers with user:auspex or group:auspex privileges.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2677
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2678
        show_entity_id;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2679
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2680
        /* load_database_mdeps
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2681
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2682
         * For module dependencies listed in the services database (if any),
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2683
         * whether to load those modules on startup (if they are not already
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2684
         * loaded) or abort startup with a more helpful error message than
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2685
         * e.g. "db services.db:123: unknown directive 'BE'" --> "corestorage:
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2686
         * exiting to avoid data loss".
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2687
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2688
         * Comment this out to abort startup instead of silently loading the
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2689
         * modules you need to process the database successfully. The abort
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2690
         * reason will tell you what module the database requires so that you
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2691
         * can fix your configuration file.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2692
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2693
        load_database_mdeps;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2694
};
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2695
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2696
proxyscan {
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2697
        /* Here you can configure the details of your Proxyscan (DNS Blacklist)
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2698
         * scanner service.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2699
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2700
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2701
        nick = "Proxyscan";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2702
        user = "dnsbl";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2703
        host = "{{atheme_server_host}}";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2704
        real = "Proxyscan Service";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2705
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2706
        blacklists {
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2707
         "dnsbl.dronebl.org";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2708
         "rbl.efnetrbl.org";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2709
         "tor.efnet.org";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2710
        };
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2711
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2712
        /* Available dnsbl_action's:
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2713
         * NONE - Do nothing
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2714
         * NOTIFY - Notify user that they are listed in a DNSBL and which one
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2715
         * SNOOP - Report the user to the logchannel or services channel
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2716
         * KLINE - AKILL the user from the network (default AKILL is 24 hours)
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2717
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2718
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2719
        dnsbl_action = kline;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2720
};
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2721
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2722
/******************************************************************************
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2723
 * OPERATOR AND PRIVILEGES CONFIGURATION SECTION.                             *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2724
 ******************************************************************************/
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2725
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2726
/* Operator configuration
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2727
 * See the PRIVILEGES document for more information.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2728
 * NOTE: All changes apply immediately upon rehash. You may need
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2729
 * to send a signal (killall -HUP atheme-services) to regain control.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2730
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2731
/* (*) Operclasses specify groups of services operator privileges */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2732
/* The "user" operclass specifies privileges all users get.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2733
 * This may be empty (default) in which case users get no special privileges.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2734
 * If you use the security/cmdperm module, you will need to grant command: privileges
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2735
 * to every command that you want users to be able to use.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2736
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2737
operclass "user" { };
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2738
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2739
/* The "ircop" operclass specifies privileges all IRCops get.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2740
 * This may be empty in which case IRCops get no privs.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2741
 * At least chan:cmodes, chan:joinstaffonly and general:auspex are suggested.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2742
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2743
operclass "ircop" {
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2744
        privs {
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2745
                special:ircop;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2746
        };
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2747
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2748
        privs {
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2749
                user:auspex;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2750
                user:admin;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2751
                user:sendpass;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2752
                user:vhost;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2753
                user:mark;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2754
        };
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2755
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2756
        privs {
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2757
                chan:auspex;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2758
                chan:admin;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2759
                chan:cmodes;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2760
                chan:joinstaffonly;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2761
        };
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2762
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2763
        privs {
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2764
                general:auspex;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2765
                general:helper;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2766
                general:viewprivs;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2767
                general:flood;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2768
        };
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2769
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2770
        privs {
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2771
                operserv:omode;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2772
                operserv:akill;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2773
                operserv:jupe;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2774
                operserv:global;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2775
        };
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2776
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2777
        privs {
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2778
                group:auspex;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2779
                group:admin;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2780
        };
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2781
};
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2782
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2783
operclass "sra" {
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2784
        /* You can inherit privileges from a lower operclass. */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2785
        extends "ircop";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2786
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2787
        privs {
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2788
                user:hold;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2789
                user:regnolimit;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2790
        };
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2791
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2792
        privs {
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2793
                general:metadata;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2794
                general:admin;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2795
        };
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2796
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2797
        privs {
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2798
                #operserv:massakill;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2799
                #operserv:akill-anymask;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2800
                operserv:noop;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2801
                operserv:grant;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2802
        };
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2803
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2804
        /* needoper
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2805
         * Only grant privileges to IRC users in this oper class if they
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2806
         * are opered; other use of privilege (channel succession, XMLRPC,
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2807
         * etc.) is unaffected by this.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2808
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2809
         * This flag is *not* inherited by operclasses that extend this one;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2810
         * you will have to set it explicitly for each operclass.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2811
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2812
        needoper;
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2813
};
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2814
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2815
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2816
/* (*) Operator blocks specify accounts with certain privileges
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2817
 * Oper classes must be defined before they are used in operator blocks.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2818
 */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2819
operator "jilles" {
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2820
        /* operclass */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2821
        operclass = "sra";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2822
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2823
        /* password
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2824
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2825
         * Normally, the user needs to identify/log in using the account's
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2826
         * password, and may need to be an IRCop (see operclass::needoper
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2827
         * above). If you consider this not secure enough, you can
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2828
         * specify an additional password here, which the user must enter
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2829
         * using the OperServ IDENTIFY command, before the privileges can
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2830
         * be used.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2831
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2832
         * The password must be encrypted if a crypto module is in use.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2833
         *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2834
         * If you are using modules/crypto/crypt3-*, you can probably use
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2835
         * the "mkpasswd" program included with most Linux distributions.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2836
         * Otherwise you can use modules/operserv/genhash to encrypt a
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2837
         * password for use here.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2838
         */
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2839
        #password = "$1$3gJMO9by$0G60YE6GqmuHVH3AnFPor1";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2840
};
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2841
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2842
/******************************************************************************
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2843
 * INCLUDE CONFIGURATION SECTION.                                             *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2844
 ******************************************************************************/
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2845
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2846
/* You may also specify other files for inclusion.
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2847
 * For example:
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2848
 *
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2849
 * include "etc/sras.conf";
d843011c249d Got ngircd + atheme services roles working.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
  2850
 */