From 6c32ffdc4fd6f652ef8c02ecdd4b11014c8ec064 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sun, 28 Jan 2001 04:07:52 +0000 Subject: [PATCH] Print notify joins, unaways and unidles with HILIGHT level. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1154 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-common/irc/notifylist/fe-notifylist.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/fe-common/irc/notifylist/fe-notifylist.c b/src/fe-common/irc/notifylist/fe-notifylist.c index a408fb15..7ccfa98e 100644 --- a/src/fe-common/irc/notifylist/fe-notifylist.c +++ b/src/fe-common/irc/notifylist/fe-notifylist.c @@ -186,8 +186,8 @@ static void notifylist_joined(IRC_SERVER_REC *server, const char *nick, { g_return_if_fail(nick != NULL); - printformat(server, NULL, MSGLEVEL_CLIENTNOTICE, IRCTXT_NOTIFY_JOIN, - nick, username, host, realname, + printformat(server, NULL, MSGLEVEL_CLIENTNOTICE | MSGLEVEL_HILIGHT, + IRCTXT_NOTIFY_JOIN, nick, username, host, realname, server->connrec->chatnet == NULL ? "IRC" : server->connrec->chatnet); } @@ -209,12 +209,12 @@ static void notifylist_away(IRC_SERVER_REC *server, const char *nick, g_return_if_fail(nick != NULL); if (awaymsg != NULL) { - printformat(server, NULL, MSGLEVEL_CLIENTNOTICE, IRCTXT_NOTIFY_AWAY, - nick, username, host, realname, awaymsg, + printformat(server, NULL, MSGLEVEL_CLIENTNOTICE, + IRCTXT_NOTIFY_AWAY, nick, username, host, realname, awaymsg, server->connrec->chatnet == NULL ? "IRC" : server->connrec->chatnet); } else { - printformat(server, NULL, MSGLEVEL_CLIENTNOTICE, IRCTXT_NOTIFY_UNAWAY, - nick, username, host, realname, + printformat(server, NULL, MSGLEVEL_CLIENTNOTICE | MSGLEVEL_HILIGHT, + IRCTXT_NOTIFY_UNAWAY, nick, username, host, realname, server->connrec->chatnet == NULL ? "IRC" : server->connrec->chatnet); } } @@ -225,8 +225,9 @@ static void notifylist_unidle(IRC_SERVER_REC *server, const char *nick, { g_return_if_fail(nick != NULL); - printformat(server, NULL, MSGLEVEL_CLIENTNOTICE, IRCTXT_NOTIFY_UNIDLE, - nick, username, host, realname, awaymsg != NULL ? awaymsg : "", + printformat(server, NULL, MSGLEVEL_CLIENTNOTICE | MSGLEVEL_HILIGHT, + IRCTXT_NOTIFY_UNIDLE, nick, username, host, realname, + awaymsg != NULL ? awaymsg : "", server->connrec->chatnet == NULL ? "IRC" : server->connrec->chatnet); }