mirror of
https://github.com/irssi/irssi.git
synced 2026-08-23 18:42:53 +02:00
Merge 4874dd61af into 6d6e672e8e
This commit is contained in:
commit
152f697a8f
1 changed files with 5 additions and 3 deletions
|
|
@ -484,10 +484,12 @@ static void hilight_print(int index, HILIGHT_REC *rec)
|
||||||
GString *options;
|
GString *options;
|
||||||
|
|
||||||
options = g_string_new(NULL);
|
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->nick && !rec->word) g_string_append(options, "-nick ");
|
||||||
if (rec->word) g_string_append(options, "-word ");
|
if (rec->word && !rec->nick) g_string_append(options, "-word ");
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
g_string_append(options, "-line ");
|
||||||
|
|
||||||
if (rec->nickmask) g_string_append(options, "-mask ");
|
if (rec->nickmask) g_string_append(options, "-mask ");
|
||||||
if (rec->fullword) g_string_append(options, "-full ");
|
if (rec->fullword) g_string_append(options, "-full ");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue