summaryrefslogtreecommitdiff
path: root/modules/extra
diff options
context:
space:
mode:
Diffstat (limited to 'modules/extra')
-rw-r--r--modules/extra/m_sqlite.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/extra/m_sqlite.cpp b/modules/extra/m_sqlite.cpp
index fff3e67d1..4cf66cb5f 100644
--- a/modules/extra/m_sqlite.cpp
+++ b/modules/extra/m_sqlite.cpp
@@ -105,7 +105,7 @@ class ModuleSQLite : public Module
if (this->SQLiteServices.find(connname) == this->SQLiteServices.end())
{
- Anope::string database = config.ReadValue("sqlite", "database", "anope", i);
+ Anope::string database = db_dir + "/" + config.ReadValue("sqlite", "database", "anope", i);
try
{