diff options
Diffstat (limited to 'internal/feed/state.go')
-rw-r--r-- | internal/feed/state.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/feed/state.go b/internal/feed/state.go index a060a77..cc9dd94 100644 --- a/internal/feed/state.go +++ b/internal/feed/state.go @@ -82,7 +82,7 @@ func filterFeed(feed *Feed) { origLen := len(feed.items) log.Debugf("Filtering %s. Starting with %d items", feed.Name, origLen) - items := feed.cached.filterItems(feed.items, *feed.Options.IgnHash, *feed.Options.AlwaysNew) + items := feed.cached.filterItems(feed.items, feed.IgnHash, feed.AlwaysNew) feed.items = items newLen := len(feed.items) @@ -122,7 +122,7 @@ func NewState(cfg *config.Config) *State { func (state *State) RemoveUndue() { for name, feed := range state.feeds { - if *feed.Options.Disable || !feed.NeedsUpdate(feed.cached.Last()) { + if feed.Disable || !feed.NeedsUpdate(feed.cached.Last()) { delete(state.feeds, name) } } |