[mpd] minor cleanup

This commit is contained in:
chme 2017-12-10 13:42:41 +01:00 committed by ejurgensen
parent 9165cfc5da
commit 9f1568349b

View File

@ -5074,9 +5074,6 @@ mpd_notify_idle_client(struct mpd_client_ctx *client_ctx, short events)
return 1; return 1;
} }
// in case mpd_add_idle_events has added any events
events |= client_ctx->events;
if (!(client_ctx->idle_events & events)) if (!(client_ctx->idle_events & events))
{ {
DPRINTF(E_DBG, L_MPD, "Client not listening for events: %d\n", events); DPRINTF(E_DBG, L_MPD, "Client not listening for events: %d\n", events);