aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2006-01-07 03:26:12 +0000
committerWarren Dukes <warren.dukes@gmail.com>2006-01-07 03:26:12 +0000
commit536c97f0bc513ab01f2dbb3c2c5d2ad0dc575240 (patch)
treea01d8afd3b681acccff06abd12062548e4d3f79d /src
parent0153a78906ca1e57961ea10e8a61cc11ca04e985 (diff)
downloadmpd-536c97f0bc513ab01f2dbb3c2c5d2ad0dc575240.tar.gz
mpd-536c97f0bc513ab01f2dbb3c2c5d2ad0dc575240.tar.xz
mpd-536c97f0bc513ab01f2dbb3c2c5d2ad0dc575240.zip
fix addid crash ( found by qball )
git-svn-id: https://svn.musicpd.org/mpd/trunk@3805 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 7963dc9de..0179f9865 100644
--- a/src/command.c
+++ b/src/command.c
@@ -921,7 +921,7 @@ void initCommands() {
addCommand(COMMAND_KILL ,PERMISSION_ADMIN, -1,-1,handleKill,NULL);
addCommand(COMMAND_CLOSE ,0, -1,-1,handleClose,NULL);
addCommand(COMMAND_ADD ,PERMISSION_ADD, 1, 1,handleAdd,NULL);
- addCommand(COMMAND_ADDID ,PERMISSION_ADD, 0, 1,handleAddId,NULL);
+ addCommand(COMMAND_ADDID ,PERMISSION_ADD, 1, 1,handleAddId,NULL);
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);