فهرست منبع

Put wait var back in.

Bruce Marriner 8 سال پیش
والد
کامیت
7393438ea8
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  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)