From 999c9ebe3c7d254832fc47f4a5c3eba8cca6dc98 Mon Sep 17 00:00:00 2001 From: Jari Matilainen Date: Sun, 4 Oct 2015 17:22:26 +0200 Subject: [PATCH] Make /hilight list be specific with regards to -nick/-word/-line, v2 --- src/fe-common/core/hilight-text.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fe-common/core/hilight-text.c b/src/fe-common/core/hilight-text.c index b80cc635..8031fda9 100644 --- a/src/fe-common/core/hilight-text.c +++ b/src/fe-common/core/hilight-text.c @@ -488,7 +488,7 @@ static void hilight_print(int index, HILIGHT_REC *rec) g_string_append(options, "-nick "); else if (rec->word) g_string_append(options, "-word "); - else + else if (rec->line) g_string_append(options, "-line "); if (rec->nickmask) g_string_append(options, "-mask ");