diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/configreader.h | 8 | ||||
-rw-r--r-- | include/modules.h | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/include/configreader.h b/include/configreader.h index f59fba389..f3b1f8b74 100644 --- a/include/configreader.h +++ b/include/configreader.h @@ -216,10 +216,10 @@ class CoreExport ServerConfig std::string Module; ServerPaths() - : Config(CONFIG_PATH) - , Data(DATA_PATH) - , Log(LOG_PATH) - , Module(MOD_PATH) { } + : Config(INSPIRCD_CONFIG_PATH) + , Data(INSPIRCD_DATA_PATH) + , Log(INSPIRCD_LOG_PATH) + , Module(INSPIRCD_MODULE_PATH) { } std::string PrependConfig(const std::string& fn) const { return FileSystem::ExpandPath(Config, fn); } std::string PrependData(const std::string& fn) const { return FileSystem::ExpandPath(Data, fn); } diff --git a/include/modules.h b/include/modules.h index 2a1ceb07a..a9db6919c 100644 --- a/include/modules.h +++ b/include/modules.h @@ -1343,7 +1343,7 @@ struct AllModuleList { { \ return new y; \ } \ - extern "C" DllExport const char inspircd_src_version[] = VERSION " " REVISION; + extern "C" DllExport const char inspircd_src_version[] = INSPIRCD_VERSION " " INSPIRCD_REVISION; #endif #define COMMAND_INIT(c) MODULE_INIT(CommandModule<c>) |