Add 'active' tag for active logs in /log output.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4664 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Emanuele Giaquinta 2007-12-09 14:39:06 +00:00 committed by exg
commit 1b99b57e4f
2 changed files with 3 additions and 2 deletions

View file

@ -227,7 +227,8 @@ static void cmd_log_list(void)
printformat(NULL, NULL, MSGLEVEL_CLIENTCRAP, TXT_LOG_LIST,
index, rec->fname, items != NULL ? items : "",
levelstr, rec->autoopen ? " -autoopen" : "");
levelstr, rec->autoopen ? " -autoopen" : "",
rec->handle != -1 ? " active" : "");
g_free_not_null(items);
g_free(levelstr);