From 536c97f0bc513ab01f2dbb3c2c5d2ad0dc575240 Mon Sep 17 00:00:00 2001 From: Warren Dukes Date: Sat, 7 Jan 2006 03:26:12 +0000 Subject: fix addid crash ( found by qball ) git-svn-id: https://svn.musicpd.org/mpd/trunk@3805 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3