Archived
1
0

default to allow all if no rules specified

This commit is contained in:
Jeff Becker 2017-09-26 09:38:05 -04:00
parent 2f86abe62b
commit 73cf6da65d
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

View File

@ -29,8 +29,11 @@ func (self *FeedPolicy) AllowsNewsgroup(newsgroup string) (result bool) {
}
}
}
result = allows > 0
if len(self.rules) > 0 {
result = allows > 0
} else {
result = true
}
return
}