aboutsummaryrefslogtreecommitdiffstats
path: root/log.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2005-11-18 20:10:20 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2005-11-18 20:10:20 +0100
commit22d41a26f53527adacc5b314fcdaea0c46a7723d (patch)
treeb4c08cf9ab6978abc4e62905e5ba8485db9da355 /log.c
parent517ecc45fde83e3b13352fbff5eaa8755296dc7c (diff)
Quit messages should appear again, at least on crashes. (And when running in inetd mode.)
The logging system needs some more work to complete this, maybe.
Diffstat (limited to 'log.c')
-rw-r--r--log.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/log.c b/log.c
index 0ee0a987..ad39d775 100644
--- a/log.c
+++ b/log.c
@@ -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;