aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.c
diff options
context:
space:
mode:
authorQball Cow <qball@qballcow.nl>2006-04-27 22:28:26 +0000
committerQball Cow <qball@qballcow.nl>2006-04-27 22:28:26 +0000
commit751368f25778de38b0da8f6ee4f692904b0e9e8b (patch)
treee9cf08adb3af73e4f8070e35a5cfff16d271c36d /src/command.c
parent976f7d14d904ca5b0384ae3f5da332bfcfba56f5 (diff)
downloadmpd-751368f25778de38b0da8f6ee4f692904b0e9e8b.tar.gz
mpd-751368f25778de38b0da8f6ee4f692904b0e9e8b.tar.xz
mpd-751368f25778de38b0da8f6ee4f692904b0e9e8b.zip
outputs now only needs read permission
git-svn-id: https://svn.musicpd.org/mpd/trunk@4127 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command.c b/src/command.c
index 9c13948d6..c710f4c16 100644
--- a/src/command.c
+++ b/src/command.c
@@ -989,7 +989,7 @@ void initCommands() {
addCommand(COMMAND_PLCHANGESPOSID ,PERMISSION_READ, 1, 1,handlePlaylistChangesPosId,NULL);
addCommand(COMMAND_ENABLE_DEV ,PERMISSION_ADMIN, 1, 1,handleEnableDevice,NULL);
addCommand(COMMAND_DISABLE_DEV ,PERMISSION_ADMIN, 1, 1,handleDisableDevice,NULL);
- addCommand(COMMAND_DEVICES ,PERMISSION_ADMIN, 0, 0,handleDevices,NULL);
+ addCommand(COMMAND_DEVICES ,PERMISSION_READ, 0, 0,handleDevices,NULL);
addCommand(COMMAND_COMMANDS ,0, 0, 0,handleCommands,NULL);
addCommand(COMMAND_NOTCOMMANDS ,0, 0, 0,handleNotcommands,NULL);