]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/ngircd.c
- definition of CONFIG_FILE and MOTD_FILE is now compatible with -Wtraditional.
[ngircd-alex.git] / src / ngircd / ngircd.c
index 20db13ed94c96a5bb2a4e02df2e398c5e37f3751..4690e7dd5c8d6c340781238d62294473fabd373e 100644 (file)
@@ -14,7 +14,7 @@
 
 #include "portab.h"
 
 
 #include "portab.h"
 
-static char UNUSED id[] = "$Id: ngircd.c,v 1.65 2002/12/19 04:29:59 alex Exp $";
+static char UNUSED id[] = "$Id: ngircd.c,v 1.66 2002/12/26 13:17:57 alex Exp $";
 
 #include "imp.h"
 #include <assert.h>
 
 #include "imp.h"
 #include <assert.h>
@@ -73,7 +73,8 @@ main( int argc, const char *argv[] )
 #ifdef SNIFFER
        NGIRCd_Sniffer = FALSE;
 #endif
 #ifdef SNIFFER
        NGIRCd_Sniffer = FALSE;
 #endif
-       strcpy( NGIRCd_ConfFile, CONFIG_FILE );
+       strcpy( NGIRCd_ConfFile, SYSCONFDIR );
+       strcat( NGIRCd_ConfFile, CONFIG_FILE );
 
        /* Kommandozeile parsen */
        for( i = 1; i < argc; i++ )
 
        /* Kommandozeile parsen */
        for( i = 1; i < argc; i++ )