aboutsummaryrefslogtreecommitdiffstats
path: root/log.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-11-19 16:24:46 +0100
committerJelmer Vernooij <jelmer@samba.org>2005-11-19 16:24:46 +0100
commit9c8ae507985a29b41a22cf30b803141e9ba82a9b (patch)
treee8e96ff2e33512018e7838dfa58983c45a7e0062 /log.c
parentcc9079ee091707aba3d5b0580a6191eb4541cbec (diff)
parent2cdd8ce76ce334327c84516ff78f3b00bef5bebf (diff)
Merge Wilmer
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;