Don't log critical (or worse) messages to stderr

stderr isn't redirected to the "error file" any more, so there is
no point in trying to log to it ...
This commit is contained in:
Alexander Barton 2010-12-02 13:36:19 +01:00
parent 0305f75456
commit 5da98ec389
1 changed files with 0 additions and 6 deletions

View File

@ -205,12 +205,6 @@ va_dcl
Log_Message(Level, msg);
if (Level <= LOG_CRIT) {
/* log critical messages to stderr */
fprintf(stderr, "%s\n", msg);
fflush(stderr);
}
if (snotice) {
/* Send NOTICE to all local users with mode +s and to the
* local &SERVER channel */