1
0
mirror of https://github.com/anope/anope.git synced 2026-07-01 20:26:39 +02:00

Use the paths from the build system instead of hardcoding them.

This commit is contained in:
Sadie Powell
2024-04-02 16:41:26 +01:00
parent 4691dfa3f0
commit 87a8af0ad7
2 changed files with 20 additions and 1 deletions
+5 -1
View File
@@ -30,7 +30,11 @@
#endif
#include <thread>
Anope::string Anope::ConfigDir = "conf", Anope::DataDir = "data", Anope::ModuleDir = "lib", Anope::LocaleDir = "locale", Anope::LogDir = "logs";
Anope::string Anope::ConfigDir = DEFAULT_CONF_DIR;
Anope::string Anope::DataDir = DEFAULT_DATA_DIR;
Anope::string Anope::LocaleDir = DEFAULT_LOCALE_DIR;
Anope::string Anope::LogDir = DEFAULT_LOG_DIR;
Anope::string Anope::ModuleDir = DEFAULT_MODULE_DIR;
/* Vector of pairs of command line arguments and their params */
static std::vector<std::pair<Anope::string, Anope::string> > CommandLineArguments;