mirror of
https://github.com/matrix-construct/construct
synced 2024-12-29 00:44:17 +01:00
ircd_lexer: use correct variable here.
ircd_paths[IRCD_PATH_ETC] is what's wanted, not IRCD_PATH_ETC.
This commit is contained in:
parent
673f2cda1c
commit
553dd5a7f0
1 changed files with 1 additions and 1 deletions
|
@ -196,7 +196,7 @@ void cinclude(void)
|
|||
/* if its not found in PREFIX, look in IRCD_PATH_ETC */
|
||||
char fnamebuf[BUFSIZE];
|
||||
|
||||
snprintf(fnamebuf, sizeof(fnamebuf), "%s%c%s", IRCD_PATH_ETC, RB_PATH_SEPARATOR, c);
|
||||
snprintf(fnamebuf, sizeof(fnamebuf), "%s%c%s", ircd_paths[IRCD_PATH_ETC], RB_PATH_SEPARATOR, c);
|
||||
tmp_fbfile_in = fopen(fnamebuf, "r");
|
||||
|
||||
/* wasnt found there either.. error. */
|
||||
|
|
Loading…
Reference in a new issue