diff options
| author | Alexander Barton <alex@barton.de> | 2002-11-22 17:57:40 +0000 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2002-11-22 17:57:40 +0000 |
| commit | 03ec91f943dd4a638ebc92ec38d79b71487b7789 (patch) | |
| tree | 5aa7b08775a9a7b1a926b7cfbfc61533a43091ad | |
| parent | 7233b72145360ff390613c2922437f1469e4cb32 (diff) | |
| download | ngircd-03ec91f943dd4a638ebc92ec38d79b71487b7789.tar.gz ngircd-03ec91f943dd4a638ebc92ec38d79b71487b7789.zip | |
- bessere Log-Meldungen.
| -rw-r--r-- | src/ngircd/conf.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ngircd/conf.c b/src/ngircd/conf.c index ea5e3fd7..12a84d69 100644 --- a/src/ngircd/conf.c +++ b/src/ngircd/conf.c @@ -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. * - * $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 */ @@ -212,6 +212,8 @@ Read_Config( VOID ) exit( 1 ); } + Config_Error( LOG_INFO, "Reading configuration from \"%s\" ...", NGIRCd_ConfFile ); + 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 */ - Log( LOG_WARNING, "No server information configured but required by RFC!" ); + Log( LOG_WARNING, "No administrative information configured but required by RFC!" ); } } /* Validate_Config */ |