aboutsummaryrefslogtreecommitdiffstats
path: root/src/AllCommands.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-08-04 23:20:56 +0200
committerMax Kellermann <max@duempel.org>2013-08-04 23:21:23 +0200
commit9e715089a4279d08b7cc8d7fbdb3eb8696230e65 (patch)
treee075d02a6355e58d2241109eb30009b6b5baa2bc /src/AllCommands.cxx
parent1a852bc365971960b0c8fd180f71a14396c81d8c (diff)
downloadmpd-9e715089a4279d08b7cc8d7fbdb3eb8696230e65.tar.gz
mpd-9e715089a4279d08b7cc8d7fbdb3eb8696230e65.tar.xz
mpd-9e715089a4279d08b7cc8d7fbdb3eb8696230e65.zip
Commands: new command "toggleoutput"
Diffstat (limited to 'src/AllCommands.cxx')
-rw-r--r--src/AllCommands.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/AllCommands.cxx b/src/AllCommands.cxx
index 8f651ec04..cd06c323b 100644
--- a/src/AllCommands.cxx
+++ b/src/AllCommands.cxx
@@ -159,6 +159,7 @@ static const struct command commands[] = {
{ "swap", PERMISSION_CONTROL, 2, 2, handle_swap },
{ "swapid", PERMISSION_CONTROL, 2, 2, handle_swapid },
{ "tagtypes", PERMISSION_READ, 0, 0, handle_tagtypes },
+ { "toggleoutput", PERMISSION_ADMIN, 1, 1, handle_toggleoutput },
{ "unsubscribe", PERMISSION_READ, 1, 1, handle_unsubscribe },
{ "update", PERMISSION_CONTROL, 0, 1, handle_update },
{ "urlhandlers", PERMISSION_READ, 0, 0, handle_urlhandlers },