From ef0d9691b8823ccc8cb30c061a16757af20aa4d8 Mon Sep 17 00:00:00 2001 From: MichaelOultram Date: Wed, 29 Jul 2015 02:05:21 +0100 Subject: [PATCH] Fixing build issues --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index b841957..dd7bec3 100644 --- a/main.go +++ b/main.go @@ -102,7 +102,7 @@ func (dj *mumbledj) OnTextMessage(e *gumble.TextMessageEvent) { func (dj *mumbledj) OnUserChange(e *gumble.UserChangeEvent) { if e.Type.Has(gumble.UserChangeDisconnected) { if dj.audioStream.IsPlaying() { - if !isNull(dj.queue.CurrentSong().Playlist()) { + if !isNil(dj.queue.CurrentSong().Playlist()) { dj.queue.CurrentSong().Playlist().RemoveSkip(e.User.Name) } dj.queue.CurrentSong().RemoveSkip(e.User.Name)