mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 04:43:34 +02:00
/HILIGHT changed. -nick option now tells to hilight only the nick, not
the whole line. -mask option matches the text for nick mask (it didn't even work before). git-svn-id: http://svn.irssi.org/repos/irssi/trunk@391 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
dc22d8830d
commit
95b74de316
6 changed files with 64 additions and 56 deletions
|
|
@ -53,7 +53,9 @@ static void msg_beep_check(IRC_SERVER_REC *server, int level)
|
|||
}
|
||||
}
|
||||
|
||||
static void print_channel_msg(IRC_SERVER_REC *server, const char *msg, const char *nick, const char *addr, const char *target)
|
||||
static void print_channel_msg(IRC_SERVER_REC *server, const char *msg,
|
||||
const char *nick, const char *addr,
|
||||
const char *target)
|
||||
{
|
||||
CHANNEL_REC *chanrec;
|
||||
NICK_REC *nickrec;
|
||||
|
|
@ -62,7 +64,7 @@ static void print_channel_msg(IRC_SERVER_REC *server, const char *msg, const cha
|
|||
|
||||
chanrec = channel_find(server, target);
|
||||
for_me = irc_nick_match(server->nick, msg);
|
||||
color = irc_hilight_find_nick(target, nick, addr);
|
||||
color = irc_hilight_find_nick(target, nick, addr, MSGLEVEL_PUBLIC, msg);
|
||||
|
||||
nickrec = chanrec == NULL ? NULL : nicklist_find(chanrec, nick);
|
||||
nickmode = (!settings_get_bool("show_nickmode") || nickrec == NULL) ? "" :
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue