InspIRCd v4 is still early in development!
If you use this branch you may experience crashes, weird behaviour, and unannounced breaking changes.
You probably want to use InspIRCd v3 instead.
The "sqlite3" Module (v4)
This module depends on a third-party library (SQLite) and must be manually enabled at compile time.
Once you have installed the dependency you can enable this module using the following command:
./configure --enable-extras sqlite3
Description
This module provides the ability for SQL modules to query a SQLite 3 database.
Configuration
To load this module use the following <module>
tag:
<module name="sqlite3">
<database>
The <database>
tag defines a SQLite 3 database to connect to. This tag can be defined as many times as required.
Name | Type | Default Value | Description |
---|---|---|---|
module | Text | None | Required! This MUST be set to "sqlite" to connect to a SQLite 3 database. |
id | Text | None | Required! The name that SQL-using modules can refer to this <database> tag using. |
hostname | Text | None | Required! The path to where the SQLite database is stored. |
Example Usage
<database module="sqlite"
id="opers"
hostname="/path/to/database.sq3">