[mpd] ignore requests for client to client commands "subscribe",

"unsubscribe", "readmessages", "sendmessages"
This commit is contained in:
chme 2015-05-09 06:36:29 +02:00
parent decc482e2c
commit 68c392eb9e

View File

@ -3492,30 +3492,26 @@ static struct command mpd_handlers[] =
/*
* Client to client
*/
/*
{
.mpdcommand = "subscribe",
.handler = mpd_command_subscribe
.handler = mpd_command_ignore
},
{
.mpdcommand = "unsubscribe",
.handler = mpd_command_unsubscribe
.handler = mpd_command_ignore
},
*/
{
.mpdcommand = "channels",
.handler = mpd_command_ignore
},
/*
{
.mpdcommand = "readmessages",
.handler = mpd_command_readmessages
.handler = mpd_command_ignore
},
{
.mpdcommand = "sendmessage",
.handler = mpd_command_sendmessage
.handler = mpd_command_ignore
},
*/
/*
* NULL command to terminate loop