can use function here
This commit is contained in:
parent
d4d2483ee0
commit
a919fed6f9
5
fun.go
5
fun.go
|
@ -424,9 +424,8 @@ func thoudostbitethythumb(userid int64, who []string, objid string) bool {
|
||||||
if biters[w] {
|
if biters[w] {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
m := re_unurl.FindStringSubmatch(w)
|
where := originate(w)
|
||||||
if len(m) > 2 {
|
if where != "" {
|
||||||
where := m[1]
|
|
||||||
if biters[where] {
|
if biters[where] {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue