aboutsummaryrefslogtreecommitdiffstats
path: root/src/PlaylistCommands.cxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/PlaylistCommands.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PlaylistCommands.cxx b/src/PlaylistCommands.cxx
index e3b5ad5f8..d68a30ba7 100644
--- a/src/PlaylistCommands.cxx
+++ b/src/PlaylistCommands.cxx
@@ -193,7 +193,7 @@ handle_playlistadd(Client *client, G_GNUC_UNUSED int argc, char *argv[])
return COMMAND_RETURN_ERROR;
}
- success = spl_append_uri(argv[1], playlist, &error);
+ success = spl_append_uri(uri, playlist, &error);
} else
success = search_add_to_playlist(uri, playlist, nullptr,
&error);