From ef8e631be26a47502c318039cf2c1c82ade8a7aa Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 30 Aug 2024 15:31:47 +0100 Subject: Add a config variable for the example dir. This makes including example files easier on system-wide installs. --- src/configparser.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/configparser.cpp') 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 }, -- cgit v1.3.1-10-gc9f91