]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/conf.c
- definition of CONFIG_FILE and MOTD_FILE is now compatible with -Wtraditional.
[ngircd-alex.git] / src / ngircd / conf.c
index 65e51a96b92a880fb2c7fdcf4c55f31230957603..08c4e9ae550c287344a146c1148018dc0348148d 100644 (file)
@@ -14,7 +14,7 @@
 
 #include "portab.h"
 
-static char UNUSED id[] = "$Id: conf.c,v 1.47 2002/12/18 02:53:36 alex Exp $";
+static char UNUSED id[] = "$Id: conf.c,v 1.48 2002/12/26 13:17:56 alex Exp $";
 
 #include "imp.h"
 #include <assert.h>
@@ -178,7 +178,8 @@ Set_Defaults( VOID )
        strcpy( Conf_ServerAdmin2, "" );
        strcpy( Conf_ServerAdminMail, "" );
 
-       strcpy( Conf_MotdFile, MOTD_FILE );
+       strcpy( Conf_MotdFile, SYSCONFDIR );
+       strcat( Conf_MotdFile, MOTD_FILE );
 
        Conf_ListenPorts_Count = 0;