commit b856a580511a0e25be375bd83efd480c61e62a80 from: Alexander Barton date: Tue Jan 18 22:44:07 2011 UTC 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). commit - 8927700b221ba3cffbde50005319868efbdb1f3e commit + b856a580511a0e25be375bd83efd480c61e62a80 blob - db91a578604dd29d8b7752b0d431fb2cbff4e224 blob + 6c0e35170efd85e87d1c9a1395599afa12c88cf5 --- src/ngircd/conf.c +++ 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; }