1
0
mirror of https://github.com/irssi/irssi.git synced 2025-02-02 15:08:01 -05:00

When printing /IGNORE list, if there's no ignores print the

IGNORE_NO_IGNORES format which wasn't used before for anything..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2049 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-11-18 13:40:51 +00:00 committed by cras
parent 100d92dff0
commit 58eb5f783d

View File

@ -73,6 +73,12 @@ static void cmd_ignore_show(void)
GSList *tmp;
int index;
if (ignores == NULL) {
printformat(NULL, NULL, MSGLEVEL_CLIENTCRAP,
TXT_IGNORE_NO_IGNORES);
return;
}
printformat(NULL, NULL, MSGLEVEL_CLIENTCRAP, TXT_IGNORE_HEADER);
index = 1;
for (tmp = ignores; tmp != NULL; tmp = tmp->next, index++) {