Fixing build issues
This commit is contained in:
parent
90671fd1a5
commit
ef0d9691b8
2
main.go
2
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)
|
||||
|
|
Reference in a new issue