]> jfr.im git - solanum.git/blobdiff - ircd/ircd_lexer.l
opm: properly close listeners after disabling proxy scan
[solanum.git] / ircd / ircd_lexer.l
index ccaf2e994d8ca3e17762920cb8a596a58be1a5e6..7112cc30094b3a784e78507b8bc8a6c7152765b8 100644 (file)
@@ -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. */