degesch: fix crash in the logger

Invalid arguments for the format string.
This commit is contained in:
Přemysl Eric Janouch 2015-05-23 19:41:44 +02:00
parent ca36726bf7
commit 3ed519c1c5
1 changed files with 1 additions and 1 deletions

View File

@ -2387,7 +2387,7 @@ buffer_line_display (struct app_context *ctx,
break;
case BUFFER_LINE_QUIT:
formatter_add (&f, "#a<--#r ", ATTR_PART);
formatter_add (&f, "#c#s#r (#a%s#r) #a#s#r",
formatter_add (&f, "#c#s#r (#a#s#r) #a#s#r",
nick_color, nick, ATTR_USERHOST, userhost,
ATTR_PART, "has quit");
if (a->reason)