summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-05-05 01:55:04 -0400
committerAdam <Adam@anope.org>2013-05-05 01:55:04 -0400
commit1d0bb9b26b7ad58ab0bf979ac046f4511b3bf12b (patch)
tree4486f0784bdf050fd7eb225c0cb9df352ce1f45a
parent781defb7076ddfddf723ca08cd0a518b6657b64f (diff)
Rework the config file reader to be much more flexible and move many configuration directives to the actual modules they are used in.
-rw-r--r--data/botserv.example.conf86
-rw-r--r--data/chanserv.example.conf105
-rw-r--r--data/chanstats.example.conf5
-rw-r--r--data/example.conf267
-rw-r--r--data/global.example.conf30
-rw-r--r--data/hostserv.example.conf52
-rw-r--r--data/memoserv.example.conf32
-rw-r--r--data/modules.example.conf84
-rw-r--r--data/nickserv.example.conf286
-rw-r--r--data/operserv.example.conf237
-rw-r--r--include/account.h4
-rw-r--r--include/anope.h1
-rw-r--r--include/bots.h7
-rw-r--r--include/channels.h4
-rw-r--r--include/config.h850
-rw-r--r--include/defs.h3
-rw-r--r--include/modes.h13
-rw-r--r--include/module.h2
-rw-r--r--include/modules.h89
-rw-r--r--include/protocol.h5
-rw-r--r--include/servers.h4
-rw-r--r--include/users.h2
-rw-r--r--modules/bs_autoassign.cpp17
-rw-r--r--modules/commands/bs_badwords.cpp18
-rw-r--r--modules/commands/bs_bot.cpp38
-rw-r--r--modules/commands/bs_kick.cpp38
-rw-r--r--modules/commands/bs_set.cpp7
-rw-r--r--modules/commands/cs_access.cpp23
-rw-r--r--modules/commands/cs_akick.cpp16
-rw-r--r--modules/commands/cs_ban.cpp5
-rw-r--r--modules/commands/cs_clone.cpp22
-rw-r--r--modules/commands/cs_entrymsg.cpp11
-rw-r--r--modules/commands/cs_fantasy_stats.cpp9
-rw-r--r--modules/commands/cs_fantasy_top.cpp9
-rw-r--r--modules/commands/cs_flags.cpp16
-rw-r--r--modules/commands/cs_info.cpp7
-rw-r--r--modules/commands/cs_kick.cpp7
-rw-r--r--modules/commands/cs_list.cpp10
-rw-r--r--modules/commands/cs_mode.cpp2
-rw-r--r--modules/commands/cs_register.cpp15
-rw-r--r--modules/commands/cs_seen.cpp24
-rw-r--r--modules/commands/cs_set.cpp34
-rw-r--r--modules/commands/cs_set_misc.cpp12
-rw-r--r--modules/commands/cs_suspend.cpp11
-rw-r--r--modules/commands/cs_xop.cpp29
-rw-r--r--modules/commands/help.cpp9
-rw-r--r--modules/commands/hs_list.cpp11
-rw-r--r--modules/commands/hs_request.cpp56
-rw-r--r--modules/commands/hs_set.cpp8
-rw-r--r--modules/commands/ms_read.cpp7
-rw-r--r--modules/commands/ms_rsend.cpp26
-rw-r--r--modules/commands/ms_send.cpp4
-rw-r--r--modules/commands/ms_set.cpp27
-rw-r--r--modules/commands/ns_access.cpp21
-rw-r--r--modules/commands/ns_ajoin.cpp2
-rw-r--r--modules/commands/ns_cert.cpp10
-rw-r--r--modules/commands/ns_drop.cpp4
-rw-r--r--modules/commands/ns_getpass.cpp4
-rw-r--r--modules/commands/ns_group.cpp34
-rw-r--r--modules/commands/ns_info.cpp14
-rw-r--r--modules/commands/ns_list.cpp11
-rw-r--r--modules/commands/ns_recover.cpp13
-rw-r--r--modules/commands/ns_register.cpp78
-rw-r--r--modules/commands/ns_resetpass.cpp13
-rw-r--r--modules/commands/ns_set.cpp77
-rw-r--r--modules/commands/ns_set_misc.cpp14
-rw-r--r--modules/commands/ns_suspend.cpp7
-rw-r--r--modules/commands/ns_update.cpp2
-rw-r--r--modules/commands/os_akill.cpp24
-rw-r--r--modules/commands/os_chankill.cpp5
-rw-r--r--modules/commands/os_config.cpp154
-rw-r--r--modules/commands/os_defcon.cpp66
-rw-r--r--modules/commands/os_dns.cpp18
-rw-r--r--modules/commands/os_forbid.cpp35
-rw-r--r--modules/commands/os_ignore.cpp5
-rw-r--r--modules/commands/os_kill.cpp4
-rw-r--r--modules/commands/os_list.cpp10
-rw-r--r--modules/commands/os_login.cpp12
-rw-r--r--modules/commands/os_logsearch.cpp10
-rw-r--r--modules/commands/os_news.cpp21
-rw-r--r--modules/commands/os_noop.cpp4
-rw-r--r--modules/commands/os_reload.cpp4
-rw-r--r--modules/commands/os_session.cpp125
-rw-r--r--modules/commands/os_set.cpp16
-rw-r--r--modules/commands/os_stats.cpp7
-rw-r--r--modules/commands/os_svs.cpp9
-rw-r--r--modules/commands/os_sxline.cpp55
-rw-r--r--modules/database/db_flatfile.cpp31
-rw-r--r--modules/database/db_old.cpp3
-rw-r--r--modules/database/db_plain.cpp14
-rw-r--r--modules/database/db_sql.cpp10
-rw-r--r--modules/database/db_sql_live.cpp11
-rw-r--r--modules/extra/m_chanstats.cpp29
-rw-r--r--modules/extra/m_httpd.cpp21
-rw-r--r--modules/extra/m_ldap.cpp24
-rw-r--r--modules/extra/m_ldap_authentication.cpp36
-rw-r--r--modules/extra/m_ldap_oper.cpp16
-rw-r--r--modules/extra/m_mysql.cpp26
-rw-r--r--modules/extra/m_proxyscan.cpp43
-rw-r--r--modules/extra/m_sql_authentication.cpp22
-rw-r--r--modules/extra/m_sql_oper.cpp8
-rw-r--r--modules/extra/m_sqlite.cpp16
-rw-r--r--modules/extra/m_ssl.cpp12
-rw-r--r--modules/extra/m_xmlrpc_main.cpp9
-rw-r--r--modules/extra/webcpanel/pages/chanserv/access.cpp8
-rw-r--r--modules/extra/webcpanel/pages/chanserv/akick.cpp4
-rw-r--r--modules/extra/webcpanel/pages/chanserv/drop.cpp2
-rw-r--r--modules/extra/webcpanel/pages/confirm.cpp2
-rw-r--r--modules/extra/webcpanel/pages/hostserv/request.cpp2
-rw-r--r--modules/extra/webcpanel/pages/memoserv/memos.cpp4
-rw-r--r--modules/extra/webcpanel/pages/nickserv/access.cpp4
-rw-r--r--modules/extra/webcpanel/pages/nickserv/cert.cpp4
-rw-r--r--modules/extra/webcpanel/pages/operserv/akill.cpp4
-rw-r--r--modules/extra/webcpanel/pages/register.cpp2
-rw-r--r--modules/extra/webcpanel/webcpanel.cpp37
-rw-r--r--modules/ldapapi.h (renamed from modules/ldap.h)0
-rw-r--r--modules/m_dns.cpp19
-rw-r--r--modules/m_dnsbl.cpp28
-rw-r--r--modules/m_helpchan.cpp11
-rw-r--r--modules/m_rewrite.cpp17
-rw-r--r--modules/ns_maxemail.cpp20
-rw-r--r--modules/protocol/bahamut.cpp6
-rw-r--r--modules/protocol/charybdis.cpp29
-rw-r--r--modules/protocol/hybrid.cpp18
-rw-r--r--modules/protocol/inspircd11.cpp8
-rw-r--r--modules/protocol/inspircd12.cpp18
-rw-r--r--modules/protocol/inspircd20.cpp39
-rw-r--r--modules/protocol/ngircd.cpp11
-rw-r--r--modules/protocol/plexus.cpp6
-rw-r--r--modules/protocol/ratbox.cpp7
-rw-r--r--modules/protocol/unreal.cpp50
-rw-r--r--modules/pseudoclients/botserv.cpp144
-rw-r--r--modules/pseudoclients/chanserv.cpp205
-rw-r--r--modules/pseudoclients/chanserv.h18
-rw-r--r--modules/pseudoclients/global.cpp48
-rw-r--r--modules/pseudoclients/global.h4
-rw-r--r--modules/pseudoclients/hostserv.cpp24
-rw-r--r--modules/pseudoclients/memoserv.cpp64
-rw-r--r--modules/pseudoclients/memoserv.h4