mirror of
https://github.com/anope/anope.git
synced 2026-07-01 06:36:39 +02:00
Split up db/conf/lib/locale install directories, and allow alternate ones to be specified at runtime
This commit is contained in:
@@ -651,7 +651,7 @@ class DBPlain : public Module
|
||||
void OnReload() anope_override
|
||||
{
|
||||
ConfigReader config;
|
||||
DatabaseFile = config.ReadValue("db_plain", "database", "anope.db", 0);
|
||||
DatabaseFile = db_dir + "/" + config.ReadValue("db_plain", "database", "anope.db", 0);
|
||||
}
|
||||
|
||||
EventReturn OnLoadDatabase() anope_override
|
||||
|
||||
Reference in New Issue
Block a user