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