Commit d92ba5e8 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

lua: rc: do not assume playlist root has a name

parent d43181ff
......@@ -253,7 +253,7 @@ function playlist(name,client,arg)
if name == "search" then
client:append("+----[ Search - "..(arg or "`reset'").." ]")
else
client:append("+----[ Playlist - "..playlist.name.." ]")
client:append("+----[ Playlist - "..name.." ]")
end
if playlist.children then
for _, item in ipairs(playlist.children) do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment