fix ?
This commit is contained in:
parent
4f3ac9f256
commit
0966a247e5
@ -24,13 +24,13 @@ func (self *FeedPolicy) AllowsNewsgroup(newsgroup string) (result bool) {
|
|||||||
if v == "1" {
|
if v == "1" {
|
||||||
allows++
|
allows++
|
||||||
} else if v == "0" {
|
} else if v == "0" {
|
||||||
disallows++
|
return false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
result = allows > 0 && disallows == 0
|
result = allows > 0
|
||||||
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user