Archived
1
0

make it compile

This commit is contained in:
Jeff Becker 2017-04-23 08:07:17 -04:00
parent 0966a247e5
commit cc467ac312

View File

@ -15,7 +15,7 @@ type FeedPolicy struct {
// do we allow this newsgroup?
func (self *FeedPolicy) AllowsNewsgroup(newsgroup string) (result bool) {
var k, v string
var allows, disallows int
var allows int
for k, v = range self.rules {
v = strings.Trim(v, " ")
match, err := regexp.MatchString(k, newsgroup)