Browse Source

Put wait var back in.

Bruce Marriner 8 years ago
parent
commit
7393438ea8
1 changed files with 1 additions and 0 deletions
  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)