Module: ngircd.git Branch: master Commit: b856a580511a0e25be375bd83efd480c61e62a80 URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=b856a5805... Author: Alexander Barton <alex@barton.de> Date: Tue Jan 18 23:44:07 2011 +0100 Log "Can't read MOTD file" as "configuration error" Now this error message is displayed in the console without debug prefix when running the configuration test (--configtest). --- src/ngircd/conf.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/ngircd/conf.c b/src/ngircd/conf.c index db91a57..6c0e351 100644 --- a/src/ngircd/conf.c +++ b/src/ngircd/conf.c @@ -668,7 +668,7 @@ Read_Motd(const char *filename) fp = fopen(filename, "r"); if (!fp) { - Log(LOG_WARNING, "Can't read MOTD file \"%s\": %s", + Config_Error(LOG_WARNING, "Can't read MOTD file \"%s\": %s", filename, strerror(errno)); return; }