From a8e52ad89f60741adc474d460724e25bc783dfe5 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 2 Feb 2014 13:59:07 +0100 Subject: ClientFile: move client_allow_file() into the Client class --- src/command/OtherCommands.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/command/OtherCommands.cxx') diff --git a/src/command/OtherCommands.cxx b/src/command/OtherCommands.cxx index 76f97f389..9455971e8 100644 --- a/src/command/OtherCommands.cxx +++ b/src/command/OtherCommands.cxx @@ -41,7 +41,6 @@ #include "Permission.hxx" #include "PlaylistFile.hxx" #include "db/PlaylistVector.hxx" -#include "client/ClientFile.hxx" #include "client/Client.hxx" #include "Partition.hxx" #include "Instance.hxx" @@ -143,7 +142,7 @@ handle_lsinfo(Client &client, int argc, char *argv[]) } Error error; - if (!client_allow_file(client, path_fs, error)) + if (!client.AllowFile(path_fs, error)) return print_error(client, error); DetachedSong song(path_utf8); -- cgit v1.2.3