/HILIGHT -full didn't work, and -word was treated as -word + -full. Updated

/HELP hilight.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1408 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-03-17 06:58:13 +00:00 committed by cras
commit 6e57a9e94e
2 changed files with 5 additions and 4 deletions

View file

@ -474,7 +474,7 @@ static void hilight_print(int index, HILIGHT_REC *rec)
chans != NULL ? chans : "",
levelstr != NULL ? levelstr : "",
rec->nickmask ? " -mask" : "",
rec->fullword ? " -word" : "",
rec->fullword ? " -full" : "",
rec->regexp ? " -regexp" : "");
g_free_not_null(chans);
g_free_not_null(levelstr);
@ -563,7 +563,7 @@ static void cmd_hilight(const char *data)
rec->nick = TRUE;
rec->nickmask = g_hash_table_lookup(optlist, "mask") != NULL;
rec->fullword = g_hash_table_lookup(optlist, "word") != NULL;
rec->fullword = g_hash_table_lookup(optlist, "full") != NULL;
rec->regexp = g_hash_table_lookup(optlist, "regexp") != NULL;
if (colorarg != NULL) {