log what we don't like
This commit is contained in:
parent
78cab35653
commit
688d6be957
3
fun.go
3
fun.go
|
@ -645,15 +645,18 @@ func thoudostbitethythumb(userid int64, who []string, objid string) bool {
|
||||||
thumblock.Unlock()
|
thumblock.Unlock()
|
||||||
objwhere := originate(objid)
|
objwhere := originate(objid)
|
||||||
if objwhere != "" && biters[objwhere] {
|
if objwhere != "" && biters[objwhere] {
|
||||||
|
log.Printf("thumbbiter: %s", objid)
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
for _, w := range who {
|
for _, w := range who {
|
||||||
if biters[w] {
|
if biters[w] {
|
||||||
|
log.Printf("thumbbiter: %s", w)
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
where := originate(w)
|
where := originate(w)
|
||||||
if where != "" {
|
if where != "" {
|
||||||
if biters[where] {
|
if biters[where] {
|
||||||
|
log.Printf("thumbbiter: %s", w)
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue