diff options
author | Timo Sirainen <cras@irssi.org> | 2001-11-15 22:51:50 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-11-15 22:51:50 +0000 |
commit | 4322da78aad1bbd4bc6a59937c29473c3f794ae1 (patch) | |
tree | e9180d428d937b349fa9b37103415c75e8cd6aa6 | |
parent | e54a8191041893705261e60354bce6eaa5d12340 (diff) | |
download | irssi-4322da78aad1bbd4bc6a59937c29473c3f794ae1.zip |
When printing notify joins/leaves, don't print them with hilight color after
all.. they're annoying when they create autolog files.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2027 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r-- | src/fe-common/irc/notifylist/fe-notifylist.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/fe-common/irc/notifylist/fe-notifylist.c b/src/fe-common/irc/notifylist/fe-notifylist.c index 6dfb2388..5cbb3993 100644 --- a/src/fe-common/irc/notifylist/fe-notifylist.c +++ b/src/fe-common/irc/notifylist/fe-notifylist.c @@ -194,7 +194,7 @@ static void notifylist_joined(IRC_SERVER_REC *server, const char *nick, { g_return_if_fail(nick != NULL); - printformat(server, nick, MSGLEVEL_CLIENTNOTICE | MSGLEVEL_HILIGHT, + printformat(server, nick, MSGLEVEL_CLIENTNOTICE, IRCTXT_NOTIFY_JOIN, nick, username, host, realname, server->connrec->chatnet == NULL ? "IRC" : server->connrec->chatnet); } @@ -205,7 +205,7 @@ static void notifylist_left(IRC_SERVER_REC *server, const char *nick, { g_return_if_fail(nick != NULL); - printformat(server, nick, MSGLEVEL_CLIENTNOTICE | MSGLEVEL_HILIGHT, IRCTXT_NOTIFY_PART, + printformat(server, nick, MSGLEVEL_CLIENTNOTICE, IRCTXT_NOTIFY_PART, nick, username, host, realname, server->connrec->chatnet == NULL ? "IRC" : server->connrec->chatnet); } @@ -217,11 +217,11 @@ static void notifylist_away(IRC_SERVER_REC *server, const char *nick, g_return_if_fail(nick != NULL); if (awaymsg != NULL) { - printformat(server, nick, MSGLEVEL_CLIENTNOTICE | MSGLEVEL_HILIGHT, + printformat(server, nick, MSGLEVEL_CLIENTNOTICE, IRCTXT_NOTIFY_AWAY, nick, username, host, realname, awaymsg, server->connrec->chatnet == NULL ? "IRC" : server->connrec->chatnet); } else { - printformat(server, nick, MSGLEVEL_CLIENTNOTICE | MSGLEVEL_HILIGHT, + printformat(server, nick, MSGLEVEL_CLIENTNOTICE, IRCTXT_NOTIFY_UNAWAY, nick, username, host, realname, server->connrec->chatnet == NULL ? "IRC" : server->connrec->chatnet); } @@ -233,7 +233,7 @@ static void notifylist_unidle(IRC_SERVER_REC *server, const char *nick, { g_return_if_fail(nick != NULL); - printformat(server, nick, MSGLEVEL_CLIENTNOTICE | MSGLEVEL_HILIGHT, + printformat(server, nick, MSGLEVEL_CLIENTNOTICE, IRCTXT_NOTIFY_UNIDLE, nick, username, host, realname, awaymsg != NULL ? awaymsg : "", server->connrec->chatnet == NULL ? "IRC" : server->connrec->chatnet); |