mirror of
https://github.com/irssi/irssi.git
synced 2026-08-23 02:22:36 +02:00
Make /hilight list be specific with regards to -nick/-word/-line
This commit is contained in:
parent
15a40ea6d3
commit
74418527f5
1 changed files with 4 additions and 1 deletions
|
|
@ -484,10 +484,13 @@ static void hilight_print(int index, HILIGHT_REC *rec)
|
|||
GString *options;
|
||||
|
||||
options = g_string_new(NULL);
|
||||
if (!rec->nick || !rec->word) {
|
||||
if (rec->nick || rec->word) {
|
||||
if (rec->nick) g_string_append(options, "-nick ");
|
||||
if (rec->word) g_string_append(options, "-word ");
|
||||
}
|
||||
else if(rec->line) {
|
||||
g_string_append(options, "-line ");
|
||||
}
|
||||
|
||||
if (rec->nickmask) g_string_append(options, "-mask ");
|
||||
if (rec->fullword) g_string_append(options, "-full ");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue