diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1999-09-05 08:29:18 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1999-09-05 08:29:18 +0000 |
commit | e917808b05a800391d863632cd7883e1c4c13175 (patch) | |
tree | 7b0899733b0f6cfc6faf0f32c087d7b3e3e527ef /init.c | |
parent | ebf3737ce9f503ac65fe5ea9f03120ee7336c306 (diff) |
Fix "unignore *": We must not add "*" to the unignore list.
Diffstat (limited to 'init.c')
-rw-r--r-- | init.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -364,7 +364,11 @@ static int parse_unignore (BUFFER *buf, BUFFER *s, unsigned long data, BUFFER *e do { mutt_extract_token (buf, s, 0); - add_to_list (&UnIgnore, buf->data); + + /* don't add "*" to the unignore list */ + if (strcmp (buf->data, "*")) + add_to_list (&UnIgnore, buf->data); + remove_from_list (&Ignore, buf->data); } while (MoreArgs (s)); |