fix
This commit is contained in:
parent
38bc2f7639
commit
4c3fe82c82
@ -351,17 +351,10 @@ func lottery(sub, txt string, s *lineobj.SourceObject) (res string) {
|
||||
dest[val] = arr[idx]
|
||||
arr[idx] = nil
|
||||
}
|
||||
arr = nil
|
||||
|
||||
data := dest[0]
|
||||
|
||||
// set arr to nil
|
||||
for i := range dest {
|
||||
dest[i] = nil
|
||||
}
|
||||
arr = nil
|
||||
dest = nil
|
||||
perm = nil
|
||||
|
||||
conf := config.GetConf()
|
||||
u := conf.URL
|
||||
if last := len(u); last > 0 && u[last-1] == '/' {
|
||||
|
Loading…
Reference in New Issue
Block a user