This commit is contained in:
Hendrik Schlehlein 2019-01-31 20:35:31 +01:00
parent e4556869fe
commit 126eb99d0f

View file

@ -72,7 +72,7 @@ func removeItem(slice *[]*ts3.Channel, id int) {
if length < id+1 { if length < id+1 {
ss = nil ss = nil
} else if length == id+1 { } else if length == id+1 {
ss = ss[id-1:] ss = ss[:id]
} else if length > id+1 { } else if length > id+1 {
ss = append(ss[:id], ss[id+1:]...) ss = append(ss[:id], ss[id+1:]...)
} }