Mercurial > noffle
diff src/configfile.c @ 194:a4e9a20e50e5 noffle
[svn] * docs/noffle.conf.5,src/configfile.c,src/filter.h,src/filter.c:
Contrary to the documentation, the action of a filter if not specified
was 'full'. Add a new 'default' action which makes the action that of the
group's subscription mode. Make this the default action, and allow
'default' to be specified explicitly as the action in the filter
definition. Adapted from patch submitted by Mirko Liss. Thanks, Mirko.
* docs/noffle.conf.5: Correct small typo.
author | bears |
---|---|
date | Tue, 30 Oct 2001 12:42:13 +0000 |
parents | 47569cf4ad4a |
children | 76460d98b2fb |
line wrap: on
line diff
--- a/src/configfile.c Mon Oct 22 14:41:43 2001 +0100 +++ b/src/configfile.c Tue Oct 30 12:42:13 2001 +0000 @@ -6,7 +6,7 @@ SPOOLDIR VERSION - $Id: configfile.c 309 2001-10-05 15:44:22Z enz $ + $Id: configfile.c 313 2001-10-30 12:42:13Z bears $ */ #if HAVE_CONFIG_H @@ -780,6 +780,8 @@ f->action = FILTER_THREAD; else if ( strcmp( value, "discard" ) == 0 ) f->action = FILTER_DISCARD; + else if ( strcmp( value, "default" ) == 0 ) + f->action = FILTER_DEFAULT; seenAction = TRUE; } else if ( rule.type == RULE_NEWSGROUP )