mirror of
https://github.com/irssi/irssi.git
synced 2025-02-02 15:08:01 -05: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:
parent
a4cdb86128
commit
6c32ffdc4f
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user