Voice: Made EventLoop a valid struct value instead of nil pointer

This commit is contained in:
diamondburned 2020-08-19 21:32:25 -07:00
parent de61fd912d
commit 3312c66515
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ type Gateway struct {
Timeout time.Duration
reconnect moreatomic.Bool
EventLoop *wsutil.PacemakerLoop
EventLoop wsutil.PacemakerLoop
// ErrorLog will be called when an error occurs (defaults to log.Println)
ErrorLog func(err error)