From 19643089f19224314cf168429ff532517a575510 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Tue, 4 Jul 2000 21:47:40 +0000 Subject: If message was for you (your nick at start of line), print it with MSGLEVEL_HILIGHT, instead of the previous _NOHILIGHT.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@432 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-common/irc/fe-events.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/fe-common/irc') diff --git a/src/fe-common/irc/fe-events.c b/src/fe-common/irc/fe-events.c index f54275bc..161f3167 100644 --- a/src/fe-common/irc/fe-events.c +++ b/src/fe-common/irc/fe-events.c @@ -34,6 +34,7 @@ #include "nicklist.h" #include "ignore.h" #include "netsplit.h" +#include "fe-netjoin.h" #include "fe-query.h" #include "irc-hilight-text.h" @@ -75,20 +76,20 @@ static void print_channel_msg(IRC_SERVER_REC *server, const char *msg, /* message to active channel in window */ if (color != NULL) { /* highlighted nick */ - printformat(server, target, MSGLEVEL_PUBLIC | MSGLEVEL_NOHILIGHT, + printformat(server, target, MSGLEVEL_PUBLIC | MSGLEVEL_HILIGHT, IRCTXT_PUBMSG_HILIGHT, color, nick, msg, nickmode); } else { - printformat(server, target, MSGLEVEL_PUBLIC | (for_me ? MSGLEVEL_NOHILIGHT : 0), + printformat(server, target, MSGLEVEL_PUBLIC | (for_me ? MSGLEVEL_HILIGHT : 0), for_me ? IRCTXT_PUBMSG_ME : IRCTXT_PUBMSG, nick, msg, nickmode); } } else { /* message to not existing/active channel */ if (color != NULL) { /* highlighted nick */ - printformat(server, target, MSGLEVEL_PUBLIC | MSGLEVEL_NOHILIGHT, + printformat(server, target, MSGLEVEL_PUBLIC | MSGLEVEL_HILIGHT, IRCTXT_PUBMSG_HILIGHT_CHANNEL, color, nick, target, msg, nickmode); } else { - printformat(server, target, MSGLEVEL_PUBLIC | (for_me ? MSGLEVEL_NOHILIGHT : 0), + printformat(server, target, MSGLEVEL_PUBLIC | (for_me ? MSGLEVEL_HILIGHT : 0), for_me ? IRCTXT_PUBMSG_ME_CHANNEL : IRCTXT_PUBMSG_CHANNEL, nick, target, msg, nickmode); } -- cgit v1.2.3