diff options
| author | 2024-08-30 15:31:47 +0100 | |
|---|---|---|
| committer | 2024-08-30 15:31:47 +0100 | |
| commit | ef8e631be26a47502c318039cf2c1c82ade8a7aa (patch) | |
| tree | 8c3241a8c6c99f23d5b59106fd43d86f3ed62d33 /src/configparser.cpp | |
| parent | Add 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.cpp | 1 |
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 }, |
