summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--degesch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/degesch.c b/degesch.c
index 1a55605..6b3520b 100644
--- a/degesch.c
+++ b/degesch.c
@@ -2388,7 +2388,7 @@ buffer_line_display (struct app_context *ctx,
case BUFFER_LINE_PRIVMSG:
if (line->flags & BUFFER_LINE_HIGHLIGHT)
formatter_add (&f, "#a<#s#s>#r #m",
- a->prefixes ? a->prefixes : "", ATTR_HIGHLIGHT, nick, a->text);
+ ATTR_HIGHLIGHT, a->prefixes ? a->prefixes : "", nick, a->text);
else
formatter_add (&f, "<#s#c#s#r> #m",
a->prefixes ? a->prefixes : "", nick_color, nick, a->text);