commit - f206fda8ae14e9c76e3dca6aa67412d5ae9ee9f7
commit + 891dbd2acc59a6d9ff6dd8a5b12e91f5a8fa20ed
blob - d7e1a1542b327ccd2992ff91ad6d13edaa77fe67
blob + c08183de9c1c94861b6f646bdbf341615391a652
--- src/ngircd/conf.c
+++ src/ngircd/conf.c
return;
}
if (strcasecmp(Var, "IncludeDir") == 0) {
+ if (Conf_IncludeDir[0]) {
+ Config_Error(LOG_ERR,
+ "%s, line %d: Can't overwrite value of \"IncludeDir\" variable!",
+ File, Line);
+ return;
+ }
len = strlcpy(Conf_IncludeDir, Arg, sizeof(Conf_IncludeDir));
if (len >= sizeof(Conf_IncludeDir))
Config_Error_TooLong(File, Line, Var);