X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fngircd%2Flog.c;h=ea9b367a799ca4875b0560118e2a95a65cfa3a64;hb=03628dbeaf40a9de34b3eb6d5bf6dd34eed8248c;hp=f68a0fb9ec90caab217b1ecb9cac37936702af04;hpb=790fa89e67afbea7025479aad0bd5ef9d384d909;p=ngircd.git diff --git a/src/ngircd/log.c b/src/ngircd/log.c index f68a0fb9..ea9b367a 100644 --- a/src/ngircd/log.c +++ b/src/ngircd/log.c @@ -7,13 +7,16 @@ * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * Please read the file COPYING, README and AUTHORS for more information. - * - * Logging functions */ #include "portab.h" +/** + * @file + * Logging functions + */ + #include "imp.h" #include #include @@ -205,12 +208,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 */