diff --git a/CHANGELOG.md b/CHANGELOG.md index bb2faa7..cad930f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ MumbleDJ Changelog ================== +### October 7, 2014 +* Made user skip message show even when the target number of skips has been reached. + ### September 30, 2014 * Fixed skips not working correctly. * Fixed a crash related to private messages. diff --git a/mumbledj/mumbledj.lua b/mumbledj/mumbledj.lua index 3c81800..63575b8 100644 --- a/mumbledj/mumbledj.lua +++ b/mumbledj/mumbledj.lua @@ -124,12 +124,11 @@ end function skip(username) if song_queue:add_skip(username) then local skip_ratio = song_queue:count_skippers() / count_users() + piepan.me.channel:send(string.format(config.USER_SKIP_HTML, username)) if skip_ratio > config.SKIP_RATIO then piepan.me.channel:send(config.SONG_SKIPPED_HTML) piepan.Audio:stop() next_song() - else - piepan.me.channel:send(string.format(config.USER_SKIP_HTML, username)) end end end