diff --git a/server/server_rss.go b/server/server_rss.go index 80d159498..1b72b3de4 100644 --- a/server/server_rss.go +++ b/server/server_rss.go @@ -54,7 +54,7 @@ func (s *Server) updateRSS() { s.state.rssMark[rss] = feed.Items[0].GUID s.state.rssCache = append(feed.Items[:lastIdx], s.state.rssCache...) } - } else { + } else if len(feed.Items) > 0 { if s.Debug { log.Printf("retrive %d new items, first record", len(feed.Items)) }