make it compile
This commit is contained in:
parent
0966a247e5
commit
cc467ac312
@ -15,7 +15,7 @@ type FeedPolicy struct {
|
|||||||
// do we allow this newsgroup?
|
// do we allow this newsgroup?
|
||||||
func (self *FeedPolicy) AllowsNewsgroup(newsgroup string) (result bool) {
|
func (self *FeedPolicy) AllowsNewsgroup(newsgroup string) (result bool) {
|
||||||
var k, v string
|
var k, v string
|
||||||
var allows, disallows int
|
var allows int
|
||||||
for k, v = range self.rules {
|
for k, v = range self.rules {
|
||||||
v = strings.Trim(v, " ")
|
v = strings.Trim(v, " ")
|
||||||
match, err := regexp.MatchString(k, newsgroup)
|
match, err := regexp.MatchString(k, newsgroup)
|
||||||
|
Reference in New Issue
Block a user