summaryrefslogtreecommitdiff
path: root/data/modules.example.conf
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-09-25 04:19:15 -0400
committerAdam <Adam@anope.org>2011-09-25 04:19:15 -0400
commit1f2399de364c09adcce4193895cd362d80ffdfc5 (patch)
tree5f40fc531f22c174b6e10bb7bc12842a4a21d30b /data/modules.example.conf
parent43201ead9575a74e350710bc191f4ac67366aca7 (diff)
Added a new database format and sqlite support. Also moved db-convert to a module.
Diffstat (limited to 'data/modules.example.conf')
-rw-r--r--data/modules.example.conf20
1 files changed, 17 insertions, 3 deletions
diff --git a/data/modules.example.conf b/data/modules.example.conf
index 74c8bff5d..e03761fb2 100644
--- a/data/modules.example.conf
+++ b/data/modules.example.conf
@@ -197,13 +197,13 @@ m_ldap_oper
/*
* m_mysql
*
- * This module allows other modules (db_mysql/db_mysql_live) to use MySQL.
- * Be sure you have imported the table schema with mydbgen before
- * trying to use MySQL
+ * This module allows other modules to use MySQL.
*/
#module { name = "m_mysql" }
mysql
{
+ /* The name of this service */
+ name = "mysql/main"
database = "anope"
server = "127.0.0.1"
username = "anope"
@@ -297,6 +297,20 @@ proxyscan
}
/*
+ * m_sqlite
+ *
+ * This module allows other modules to use SQLite.
+ */
+#module { name = "m_sqlite" }
+sqlite
+{
+ /* The name of this service */
+ name = "sqlite/main"
+ /* The database name, it will be created if it does not exist. */
+ database = "anope.db"
+}
+
+/*
* m_ssl
*
* This module uses SSL to connect to the uplink server(s)