]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/conf.c
- bessere Log-Meldungen.
[ngircd-alex.git] / src / ngircd / conf.c
index ea5e3fd73bfbcb466369b45ba4ef954b01ca8c5c..12a84d696a24ad06f3a6059078a1590c6b969395 100644 (file)
@@ -9,7 +9,7 @@
  * Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste
  * der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS.
  *
  * Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste
  * der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS.
  *
- * $Id: conf.c,v 1.38 2002/11/19 12:50:20 alex Exp $
+ * $Id: conf.c,v 1.39 2002/11/22 17:57:40 alex Exp $
  *
  * conf.h: Konfiguration des ngircd
  */
  *
  * conf.h: Konfiguration des ngircd
  */
@@ -212,6 +212,8 @@ Read_Config( VOID )
                exit( 1 );
        }
 
                exit( 1 );
        }
 
+       Config_Error( LOG_INFO, "Reading configuration from \"%s\" ...", NGIRCd_ConfFile );
+
        line = 0;
        strcpy( section, "" );
        while( TRUE )
        line = 0;
        strcpy( section, "" );
        while( TRUE )
@@ -586,7 +588,7 @@ Validate_Config( VOID )
        if( ! Conf_ServerAdmin1[0] && ! Conf_ServerAdmin2[0] && ! Conf_ServerAdminMail[0] )
        {
                /* Keine Server-Information konfiguriert */
        if( ! Conf_ServerAdmin1[0] && ! Conf_ServerAdmin2[0] && ! Conf_ServerAdminMail[0] )
        {
                /* Keine Server-Information konfiguriert */
-               Log( LOG_WARNING, "No server information configured but required by RFC!" );
+               Log( LOG_WARNING, "No administrative information configured but required by RFC!" );
        }
 } /* Validate_Config */
 
        }
 } /* Validate_Config */