diff options
author | Timo Sirainen <cras@irssi.org> | 2000-07-04 21:47:40 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-07-04 21:47:40 +0000 |
commit | 19643089f19224314cf168429ff532517a575510 (patch) | |
tree | 76a26fecc9a94252a3677d8986ea9140dd255509 | |
parent | 0a86cf7e378172d8eff421268c7d65d1ae083533 (diff) | |
download | irssi-19643089f19224314cf168429ff532517a575510.zip |
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
-rw-r--r-- | src/fe-common/irc/fe-events.c | 9 |
1 files changed, 5 insertions, 4 deletions
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); } |