From fde3438ef29447f41a6eb48049f8d620c1c2eb30 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 19 Mar 2024 15:10:25 +0000 Subject: Allow using absolute paths in more places. --- modules/extra/sqlite.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'modules/extra') diff --git a/modules/extra/sqlite.cpp b/modules/extra/sqlite.cpp index 4968e8e0d..2454c838c 100644 --- a/modules/extra/sqlite.cpp +++ b/modules/extra/sqlite.cpp @@ -118,8 +118,7 @@ public: if (this->SQLiteServices.find(connname) == this->SQLiteServices.end()) { - Anope::string database = Anope::DataDir + "/" + block->Get("database", "anope"); - + auto database = Anope::ExpandData(block->Get("database", "anope")); try { auto *ss = new SQLiteService(this, connname, database); -- cgit