aboutsummaryrefslogtreecommitdiff
path: root/src/DatabaseCommands.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-07 10:59:56 +0100
committerMax Kellermann <max@duempel.org>2013-01-07 10:59:56 +0100
commitd360f17a59fe6ed52ffa74c48c63164cf203d1e0 (patch)
treedea0df6cb96909f083f89e4d89a48ee82aef9f13 /src/DatabaseCommands.cxx
parenta6ee6be9602f64599b40e01321bd771b17d94f39 (diff)
Client: add Partition reference attribute
playlist and player_control are deprecated.
Diffstat (limited to 'src/DatabaseCommands.cxx')
-rw-r--r--src/DatabaseCommands.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DatabaseCommands.cxx b/src/DatabaseCommands.cxx
index b52d72f3..116aa840 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);
}