diff options
| author | Alexander Barton <alex@barton.de> | 2011-01-18 23:44:07 +0100 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2011-01-18 23:44:07 +0100 |
| commit | b856a580511a0e25be375bd83efd480c61e62a80 (patch) | |
| tree | bd681b85bbb2296599a0e05109ed44cf2d2f5d10 | |
| parent | 8927700b221ba3cffbde50005319868efbdb1f3e (diff) | |
| download | ngircd-b856a580511a0e25be375bd83efd480c61e62a80.tar.gz ngircd-b856a580511a0e25be375bd83efd480c61e62a80.zip | |
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).
| -rw-r--r-- | 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 db91a578..6c0e3517 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; } |