1
0
mirror of https://github.com/osmarks/ngircd.git synced 2025-10-23 02:07:37 +00:00

- bessere Log-Meldungen.

This commit is contained in:
Alexander Barton
2002-11-22 17:57:40 +00:00
parent 7233b72145
commit 03ec91f943

View File

@@ -9,7 +9,7 @@
* Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste * Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste
* der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS. * 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; line = 0;
strcpy( section, "" ); strcpy( section, "" );
while( TRUE ) while( TRUE )
@@ -586,7 +588,7 @@ Validate_Config( VOID )
if( ! Conf_ServerAdmin1[0] && ! Conf_ServerAdmin2[0] && ! Conf_ServerAdminMail[0] ) if( ! Conf_ServerAdmin1[0] && ! Conf_ServerAdmin2[0] && ! Conf_ServerAdminMail[0] )
{ {
/* Keine Server-Information konfiguriert */ /* 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 */