diff options
Diffstat (limited to '')
-rw-r--r-- | src/DatabaseCommands.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DatabaseCommands.cxx b/src/DatabaseCommands.cxx index b52d72f39..116aa840a 100644 --- a/src/DatabaseCommands.cxx +++ b/src/DatabaseCommands.cxx @@ -92,8 +92,8 @@ handle_match_add(Client *client, int argc, char *argv[], bool fold_case) } GError *error = NULL; - return findAddIn(client->playlist, client->player_control, - "", &filter, &error) + return AddFromDatabase(client->partition, + "", &filter, &error) ? COMMAND_RETURN_OK : print_error(client, error); } |