aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-06-19 23:59:26 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-06-19 23:59:26 +0000
commit3af870a14c9dc4038cad3a3f2905e5905204c486 (patch)
treea178587f864e221f915c958f12f519716625502d /src/command.c
parenta5bdf6aaeb716376f9e078fba7ea50ecb636158e (diff)
downloadmpd-3af870a14c9dc4038cad3a3f2905e5905204c486.tar.gz
mpd-3af870a14c9dc4038cad3a3f2905e5905204c486.tar.xz
mpd-3af870a14c9dc4038cad3a3f2905e5905204c486.zip
fix playlistid command so it can take an argument
git-svn-id: https://svn.musicpd.org/mpd/trunk@1575 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/command.c')
-rw-r--r--src/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command.c b/src/command.c
index 03899cb17..2155485a1 100644
--- a/src/command.c
+++ b/src/command.c
@@ -771,7 +771,7 @@ void initCommands() {
addCommand(COMMAND_DELETE ,PERMISSION_CONTROL, 1, 1,handleDelete,NULL);
addCommand(COMMAND_DELETEID ,PERMISSION_CONTROL, 1, 1,handleDeleteId,NULL);
addCommand(COMMAND_PLAYLIST ,PERMISSION_READ, 0, 0,handlePlaylist,NULL);
- addCommand(COMMAND_PLAYLISTID ,PERMISSION_READ, 0, 0,handlePlaylistId,NULL);
+ addCommand(COMMAND_PLAYLISTID ,PERMISSION_READ, 0, 1,handlePlaylistId,NULL);
addCommand(COMMAND_SHUFFLE ,PERMISSION_CONTROL, 0, 0,handleShuffle,NULL);
addCommand(COMMAND_CLEAR ,PERMISSION_CONTROL, 0, 0,handleClear,NULL);
addCommand(COMMAND_SAVE ,PERMISSION_CONTROL, 1, 1,handleSave,NULL);