diff options
author | Timo Sirainen <cras@irssi.org> | 2001-01-28 04:07:52 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-01-28 04:07:52 +0000 |
commit | 6c32ffdc4fd6f652ef8c02ecdd4b11014c8ec064 (patch) | |
tree | 6adb70ad090f94345426e0459ae29b9c7e0d090d /src/fe-common/irc/notifylist | |
parent | a4cdb86128d2b81f4e94048464c1b30ed0694945 (diff) | |
download | irssi-6c32ffdc4fd6f652ef8c02ecdd4b11014c8ec064.zip |
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
Diffstat (limited to 'src/fe-common/irc/notifylist')
-rw-r--r-- | src/fe-common/irc/notifylist/fe-notifylist.c | 17 |
1 files 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); } |