From 675b113c3e03cf1917b2a731c21fe82b5f1f2b2b Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 6 May 2012 21:43:50 -0400 Subject: Split up db/conf/lib/locale install directories, and allow alternate ones to be specified at runtime --- modules/extra/m_sqlite.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/extra') 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 { -- cgit