mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 04:13:32 +02: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:
parent
100d92dff0
commit
58eb5f783d
1 changed files with 6 additions and 0 deletions
|
|
@ -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++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue