mirror of
https://github.com/anope/anope.git
synced 2026-06-25 02:46:37 +02:00
Move modules/stats under extras because it depends on m_mysql, update its config a bit to look similar to all of the other config files
This commit is contained in:
+56
-57
@@ -3,63 +3,6 @@
|
||||
*
|
||||
*/
|
||||
|
||||
module
|
||||
{
|
||||
name = "irc2sql"
|
||||
|
||||
/*
|
||||
* The name of this engine.
|
||||
* This must match with the name in the mysql{ } block
|
||||
*/
|
||||
engine ="mysql/main"
|
||||
|
||||
/*
|
||||
* An optional prefix to prepended to the name of each created table.
|
||||
* Do not use the same prefix for other programs.
|
||||
*/
|
||||
|
||||
prefix = "anope_"
|
||||
|
||||
/*
|
||||
* GeoIP - Automagically add a users geoip to the user table.
|
||||
* Tables are created by irc2sql, you have to run the
|
||||
* geoipupdate script after you started anope to download
|
||||
* and import the actual geoip database
|
||||
*
|
||||
*/
|
||||
|
||||
/*
|
||||
* Enable GeoIP Lookup
|
||||
*/
|
||||
GeoIPLookup = yes
|
||||
|
||||
/*
|
||||
* Chose between the smaller 'country' or the bigger 'city' database.
|
||||
*
|
||||
*/
|
||||
GeoIPDatabase = "country"
|
||||
|
||||
/*
|
||||
* The name of the client that should send the CTCP VERSION requests.
|
||||
* It must already exist or must be defined in the following service block.
|
||||
*/
|
||||
client = "StatServ"
|
||||
|
||||
/*
|
||||
* Get the CTCP version from users
|
||||
* The users connecting to the network will receive a CTCP VERSION
|
||||
* request from the above configured services client
|
||||
*/
|
||||
ctcpuser = "yes"
|
||||
|
||||
/*
|
||||
* Send out CTCP VERSION requests to users during burst.
|
||||
* Disable this if you restart Anope often and don't want to
|
||||
* annoy your users.
|
||||
*/
|
||||
ctcpeob = "yes"
|
||||
}
|
||||
|
||||
service
|
||||
{
|
||||
/*
|
||||
@@ -104,3 +47,59 @@ service
|
||||
*/
|
||||
#channels = "@#services,#mychan"
|
||||
}
|
||||
|
||||
module
|
||||
{
|
||||
name = "irc2sql"
|
||||
|
||||
/*
|
||||
* The name of the client that should send the CTCP VERSION requests.
|
||||
* It must already exist or must be defined in the following service block.
|
||||
*/
|
||||
client = "StatServ"
|
||||
|
||||
/*
|
||||
* The name of the SQL engine to use.
|
||||
* This must be MySQL and must match the name in the mysql{} block
|
||||
*/
|
||||
engine = "mysql/main"
|
||||
|
||||
/*
|
||||
* An optional prefix to prepended to the name of each created table.
|
||||
* Do not use the same prefix for other programs.
|
||||
*/
|
||||
prefix = "anope_"
|
||||
|
||||
/*
|
||||
* GeoIP - Automagically add a users geoip to the user table.
|
||||
* Tables are created by irc2sql, you have to run the
|
||||
* geoipupdate script after you started Anope to download
|
||||
* and import the GeoIP database.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Enable GeoIP Lookup
|
||||
*/
|
||||
GeoIPLookup = yes
|
||||
|
||||
/*
|
||||
* Chose between the smaller 'country' or the bigger 'city' database.
|
||||
*
|
||||
*/
|
||||
GeoIPDatabase = "country"
|
||||
|
||||
/*
|
||||
* Get the CTCP version from users
|
||||
* The users connecting to the network will receive a CTCP VERSION
|
||||
* request from the above configured services client
|
||||
*/
|
||||
ctcpuser = "yes"
|
||||
|
||||
/*
|
||||
* Send out CTCP VERSION requests to users during burst.
|
||||
* Disable this if you restart Anope often and don't want to
|
||||
* annoy your users.
|
||||
*/
|
||||
ctcpeob = "yes"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user