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