From 7393438ea8034f0807162b88db77a1bf8155cf07 Mon Sep 17 00:00:00 2001 From: Bruce Marriner Date: Tue, 5 Jul 2016 21:42:10 -0500 Subject: [PATCH] Put wait var back in. --- voice.go | 1 + 1 file changed, 1 insertion(+) diff --git a/voice.go b/voice.go index 7cfda63..b847f9b 100644 --- a/voice.go +++ b/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)