1
0
mirror of https://github.com/irssi/irssi.git synced 2024-06-30 06:45:25 +00:00

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
This commit is contained in:
Timo Sirainen 2001-01-28 04:07:52 +00:00 committed by cras
parent a4cdb86128
commit 6c32ffdc4f

View File

@ -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);
}