diff options
author | Max Kellermann <max@duempel.org> | 2014-02-27 23:08:22 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-02-27 23:08:22 +0100 |
commit | d34ae0850cf8ebde4b39e6865f21e50b74fe6c94 (patch) | |
tree | 353a3612c705b6c65617101f0228b764fdee3016 /src/command | |
parent | 6526de024a4da15ff1b0019b5bbe5048dce9e0f2 (diff) | |
download | mpd-d34ae0850cf8ebde4b39e6865f21e50b74fe6c94.tar.gz mpd-d34ae0850cf8ebde4b39e6865f21e50b74fe6c94.tar.xz mpd-d34ae0850cf8ebde4b39e6865f21e50b74fe6c94.zip |
AllCommands: "findadd" requires the "add" permission
Diffstat (limited to 'src/command')
-rw-r--r-- | src/command/AllCommands.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command/AllCommands.cxx b/src/command/AllCommands.cxx index 74802ced4..36f6fb97c 100644 --- a/src/command/AllCommands.cxx +++ b/src/command/AllCommands.cxx @@ -90,7 +90,7 @@ static const struct command commands[] = { { "disableoutput", PERMISSION_ADMIN, 1, 1, handle_disableoutput }, { "enableoutput", PERMISSION_ADMIN, 1, 1, handle_enableoutput }, { "find", PERMISSION_READ, 2, -1, handle_find }, - { "findadd", PERMISSION_READ, 2, -1, handle_findadd}, + { "findadd", PERMISSION_ADD, 2, -1, handle_findadd}, { "idle", PERMISSION_READ, 0, -1, handle_idle }, { "kill", PERMISSION_ADMIN, -1, -1, handle_kill }, { "list", PERMISSION_READ, 1, -1, handle_list }, |