aboutsummaryrefslogtreecommitdiffstats
path: root/src/ClientSubscribe.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-16 21:46:13 +0100
committerMax Kellermann <max@duempel.org>2013-01-16 21:46:13 +0100
commitcab84af72e373acca0e88d9b407aa97796c083e0 (patch)
treeb2b857febd150cf1cf76227b72919c0d17a6776e /src/ClientSubscribe.cxx
parent74500eaccac3fd906489a93e969b67440ae41f5c (diff)
downloadmpd-cab84af72e373acca0e88d9b407aa97796c083e0.tar.gz
mpd-cab84af72e373acca0e88d9b407aa97796c083e0.tar.xz
mpd-cab84af72e373acca0e88d9b407aa97796c083e0.zip
Client: move "idle" functions into the class
Diffstat (limited to 'src/ClientSubscribe.cxx')
-rw-r--r--src/ClientSubscribe.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ClientSubscribe.cxx b/src/ClientSubscribe.cxx
index d8420266c..307d44990 100644
--- a/src/ClientSubscribe.cxx
+++ b/src/ClientSubscribe.cxx
@@ -86,7 +86,7 @@ client_push_message(Client *client, const ClientMessage &msg)
return false;
if (client->messages.empty())
- client_idle_add(client, IDLE_MESSAGE);
+ client->IdleAdd(IDLE_MESSAGE);
client->messages.push_back(msg);
return true;