aboutsummaryrefslogtreecommitdiff
path: root/src/OtherCommands.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-09-25 12:04:20 +0200
committerMax Kellermann <max@duempel.org>2012-09-25 12:04:20 +0200
commitb62a8e3e3e8be005ccc8be8d157a0fb92d461e31 (patch)
treeffac21798e2452cfe1bfade2a858b8f87835d3ed /src/OtherCommands.cxx
parente47240931ae6e9267025a26c970d68cbe04519fb (diff)
command: add COMMAND_RETURN_IDLE
Eliminate the hack in handle_idle().
Diffstat (limited to 'src/OtherCommands.cxx')
-rw-r--r--src/OtherCommands.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/OtherCommands.cxx b/src/OtherCommands.cxx
index 012441fb..29ddd996 100644
--- a/src/OtherCommands.cxx
+++ b/src/OtherCommands.cxx
@@ -310,6 +310,5 @@ handle_idle(struct client *client,
/* enable "idle" mode on this client */
client_idle_wait(client, flags);
- /* return value is "1" so the caller won't print "OK" */
- return (enum command_return)1;
+ return COMMAND_RETURN_IDLE;
}