bugfix clearQueue

This commit is contained in:
da
2017-08-03 18:51:49 +02:00
parent 7a5cdfedf2
commit 4a1c59d3ab
+1 -1
View File
@@ -91,7 +91,7 @@ func handlePlaySound(w http.ResponseWriter, r *http.Request) {
if user != nil && guild != nil && soundCollection != nil { if user != nil && guild != nil && soundCollection != nil {
if sound != nil { if sound != nil {
if sound.Name == "clearqueue" && soundCollection.Prefix == "1" { if sound.Name == "clearqueue" && soundCollection.Prefix == "1" {
clearQueue() clearQueue(user)
} else { } else {
go enqueuePlay(user, guild, soundCollection, sound) go enqueuePlay(user, guild, soundCollection, sound)
} }