mirror of
https://github.com/irssi/irssi.git
synced 2026-08-23 10:32:31 +02:00
Make /hilight list be specific with regards to -nick/-word/-line, v2
This commit is contained in:
parent
74418527f5
commit
5ade7a9e33
1 changed files with 2 additions and 2 deletions
|
|
@ -484,11 +484,11 @@ 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) {
|
||||
else {
|
||||
g_string_append(options, "-line ");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue