aboutsummaryrefslogtreecommitdiffstats
path: root/src/configreader.cpp
diff options
context:
space:
mode:
authorGravatar Peter Powell2014-05-21 01:26:22 +0100
committerGravatar Attila Molnar2014-05-23 14:13:51 +0200
commite3bcf95ee996c058c73879c12ac5a487f8dcdf46 (patch)
tree11cb73fdd8eb3360b20185e8feac6fda9cf6f21d /src/configreader.cpp
parentReplace the configure templating system with something better. (diff)
downloadinspircd++-e3bcf95ee996c058c73879c12ac5a487f8dcdf46.tar.gz
inspircd++-e3bcf95ee996c058c73879c12ac5a487f8dcdf46.tar.bz2
inspircd++-e3bcf95ee996c058c73879c12ac5a487f8dcdf46.zip
Prefix all definitions in config.h to avoid potential collisions.
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r--src/configreader.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index c82bda479..c4b5c4510 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -406,10 +406,10 @@ void ServerConfig::Fill()
Limits.MaxGecos = ConfValue("limits")->getInt("maxgecos", 128);
Limits.MaxAway = ConfValue("limits")->getInt("maxaway", 200);
Limits.MaxLine = ConfValue("limits")->getInt("maxline", 512);
- Paths.Config = ConfValue("path")->getString("configdir", CONFIG_PATH);
- Paths.Data = ConfValue("path")->getString("datadir", DATA_PATH);
- Paths.Log = ConfValue("path")->getString("logdir", LOG_PATH);
- Paths.Module = ConfValue("path")->getString("moduledir", MOD_PATH);
+ Paths.Config = ConfValue("path")->getString("configdir", INSPIRCD_CONFIG_PATH);
+ Paths.Data = ConfValue("path")->getString("datadir", INSPIRCD_DATA_PATH);
+ Paths.Log = ConfValue("path")->getString("logdir", INSPIRCD_LOG_PATH);
+ Paths.Module = ConfValue("path")->getString("moduledir", INSPIRCD_MODULE_PATH);
InvBypassModes = options->getBool("invitebypassmodes", true);
NoSnoticeStack = options->getBool("nosnoticestack", false);