Put wait var back in.

This commit is contained in:
Bruce Marriner 2016-07-05 21:42:10 -05:00
parent 956961ac3e
commit 7393438ea8

View file

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