Fixed output of /hilight (add a space after -levels if any).

Added recode to dcc-chat, patch by Jean-Yves Lefort

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3708 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Valentin Batz 2005-02-11 17:27:09 +00:00 committed by vb
commit 5a8b583347
2 changed files with 22 additions and 5 deletions

View file

@ -500,6 +500,8 @@ static void hilight_print(int index, HILIGHT_REC *rec)
g_strjoinv(",", rec->channels);
levelstr = rec->level == 0 ? NULL :
bits2level(rec->level);
if (levelstr != NULL)
levelstr = g_strconcat(levelstr, " ", NULL);
printformat(NULL, NULL, MSGLEVEL_CLIENTCRAP,
TXT_HILIGHT_LINE, index, rec->text,
chans != NULL ? chans : "",