]> jfr.im git - solanum.git/blobdiff - ircd/ircd_lexer.l
whowas.c: store account name in whowas (#323)
[solanum.git] / ircd / ircd_lexer.l
index 46514cbfd9b23435e28f7cb42f2c26214fcb8036..0268341ac635e9ed97f8ba120e52068d400d5c38 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_paths[IRCD_PATH_ETC], RB_PATH_SEPARATOR, c);
+      snprintf(fnamebuf, sizeof(fnamebuf), "%s/%s", ircd_paths[IRCD_PATH_ETC], c);
       tmp_fbfile_in = fopen(fnamebuf, "r");
 
       /* wasnt found there either.. error. */