Fixed get_length() call

This commit is contained in:
Matthieu Grieger 2014-09-24 16:34:32 -07:00
parent a0d5f92b6d
commit 5360b64fe0

View file

@ -49,7 +49,7 @@ function parse_command(message)
if config.OUTPUT then
print(message.user.name .. " has told the bot to start playing music.")
end
if song_queue.getLength() == 0 then
if song_queue.get_length() == 0 then
message.user:send(config.NO_SONGS_AVAILABLE)
else
if piepan.Audio.isPlaying() then