mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 04:43:34 +02:00
keep track of address in text_dest for hilight purposes
This commit is contained in:
parent
787956af3a
commit
7cc85b9427
4 changed files with 10 additions and 14 deletions
|
|
@ -325,9 +325,10 @@ static void sig_print_text(TEXT_DEST_REC *dest, const char *text,
|
|||
if (dest->level & MSGLEVEL_NOHILIGHT)
|
||||
return;
|
||||
|
||||
hilight_start = dest->match_beg;
|
||||
hilight_end = dest->match_end;
|
||||
hilight = dest->hilight;
|
||||
hilight_start = hilight_end = 0;
|
||||
hilight = hilight_match(dest->server, dest->target, dest->nick,
|
||||
dest->address, dest->level, stripped,
|
||||
&hilight_start, &hilight_end);
|
||||
|
||||
if (hilight == NULL)
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue