mirror of
https://github.com/anope/anope.git
synced 2026-06-25 12:16:39 +02:00
Allow using absolute paths in more places.
This commit is contained in:
@@ -118,8 +118,7 @@ public:
|
||||
|
||||
if (this->SQLiteServices.find(connname) == this->SQLiteServices.end())
|
||||
{
|
||||
Anope::string database = Anope::DataDir + "/" + block->Get<const Anope::string>("database", "anope");
|
||||
|
||||
auto database = Anope::ExpandData(block->Get<const Anope::string>("database", "anope"));
|
||||
try
|
||||
{
|
||||
auto *ss = new SQLiteService(this, connname, database);
|
||||
|
||||
Reference in New Issue
Block a user