Explorar o código

Put wait var back in.

Bruce Marriner %!s(int64=8) %!d(string=hai) anos
pai
achega
7393438ea8
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      voice.go

+ 1 - 0
voice.go

@@ -842,6 +842,7 @@ func (v *VoiceConnection) reconnect() {
 	// Close any currently open connections
 	v.Close()
 
+	wait := time.Duration(1)
 	for {
 
 		<-time.After(wait * time.Second)