test
This commit is contained in:
parent
d2b8ee12f8
commit
4bad18ecdf
3
job.go
3
job.go
@ -2097,10 +2097,11 @@ func jobGetStash(j Job) {
|
||||
for k, v := range p.ClientID64 {
|
||||
fmt.Printf("jobGetStash : testing client [%d] : %d\n", k, v)
|
||||
if v == j.UserID64 {
|
||||
fmt.Printf("jobGetStash : deleting client\n")
|
||||
l := len(p.ClientID64)
|
||||
p.ClientID64[l-1], p.ClientID64[k] = p.ClientID64[k], p.ClientID64[l-1]
|
||||
p.ClientID64 = p.ClientID64[:l-1]
|
||||
fmt.Printf("jobGetStash : client deleted\n")
|
||||
break
|
||||
}
|
||||
}
|
||||
j.Trigger = 0
|
||||
|
Loading…
Reference in New Issue
Block a user