summaryrefslogtreecommitdiff
path: root/src/fe-common/irc/notifylist
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-01-28 04:07:52 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-01-28 04:07:52 +0000
commit6c32ffdc4fd6f652ef8c02ecdd4b11014c8ec064 (patch)
tree6adb70ad090f94345426e0459ae29b9c7e0d090d /src/fe-common/irc/notifylist
parenta4cdb86128d2b81f4e94048464c1b30ed0694945 (diff)
downloadirssi-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.c17
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);
}