diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-11-19 16:17:03 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2005-11-19 16:17:03 +0100 |
commit | 2cdd8ce76ce334327c84516ff78f3b00bef5bebf (patch) | |
tree | a5bdc219317a085c38fbd8d4c3b9242e32f68cde /log.c | |
parent | c998255d6aa501281c6266a5f1dce69d4c3afab4 (diff) | |
parent | 94281efa4280bd3ef1cecb7cd22deca03ecb5935 (diff) |
Merge Wilmer
Diffstat (limited to 'log.c')
-rw-r--r-- | log.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -133,14 +133,14 @@ static void log_null(int level, char *message) { static void log_irc(int level, char *message) { if(level==LOGLVL_ERROR) - irc_write_all("ERROR :Error: %s", message); + irc_write_all(1, "ERROR :Error: %s", message); if(level==LOGLVL_WARNING) - irc_write_all("ERROR :Warning: %s", message); + irc_write_all(0, "ERROR :Warning: %s", message); if(level==LOGLVL_INFO) - irc_write_all("ERROR :Informational: %s", message); + irc_write_all(0, "ERROR :Informational: %s", message); #ifdef DEBUG if(level==LOGLVL_DEBUG) - irc_write_all("ERROR :Debug: %s", message); + irc_write_all(0, "ERROR :Debug: %s", message); #endif return; |