aboutsummaryrefslogtreecommitdiff
path: root/src/configparser.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2024-08-30 15:31:47 +0100
committerGravatar Sadie Powell2024-08-30 15:31:47 +0100
commitef8e631be26a47502c318039cf2c1c82ade8a7aa (patch)
tree8c3241a8c6c99f23d5b59106fd43d86f3ed62d33 /src/configparser.cpp
parentAdd MOTD escape sequences for { and }. (diff)
Add a config variable for the example dir.
This makes including example files easier on system-wide installs.
Diffstat (limited to 'src/configparser.cpp')
-rw-r--r--src/configparser.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/configparser.cpp b/src/configparser.cpp
index 40ce80f2c..8cdd1f7f5 100644
--- a/src/configparser.cpp
+++ b/src/configparser.cpp
@@ -492,6 +492,7 @@ ParseStack::ParseStack(ServerConfig* conf)
// Directories that were set at build time.
{ "dir.config", INSPIRCD_CONFIG_PATH },
+ { "dir.example", INSPIRCD_EXAMPLE_PATH },
{ "dir.data", INSPIRCD_DATA_PATH },
{ "dir.log", INSPIRCD_LOG_PATH },
{ "dir.module", INSPIRCD_MODULE_PATH },