[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
1 changed files with 4 additions and 8 deletions

View File

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