aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--NEWS4
-rw-r--r--configure.ac2
-rw-r--r--src/command.c4
3 files changed, 7 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index b73fa5923..24c978f79 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,7 @@
+ver 0.17.1 (2012/??/??)
+* protocol:
+ - require appropriate permissions for searchadd{,pl}
+
ver 0.17 (2012/06/27)
* protocol:
- support client-to-client communication
diff --git a/configure.ac b/configure.ac
index c4e38cb5e..4ba41727c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,6 +1,6 @@
AC_PREREQ(2.60)
-AC_INIT(mpd, 0.17, musicpd-dev-team@lists.sourceforge.net)
+AC_INIT(mpd, 0.17.1, musicpd-dev-team@lists.sourceforge.net)
VERSION_MAJOR=0
VERSION_MINOR=17
diff --git a/src/command.c b/src/command.c
index 23f679fdf..86d216a75 100644
--- a/src/command.c
+++ b/src/command.c
@@ -2054,8 +2054,8 @@ static const struct command commands[] = {
{ "rm", PERMISSION_CONTROL, 1, 1, handle_rm },
{ "save", PERMISSION_CONTROL, 1, 1, handle_save },
{ "search", PERMISSION_READ, 2, -1, handle_search },
- { "searchadd", PERMISSION_READ, 2, -1, handle_searchadd },
- { "searchaddpl", PERMISSION_READ, 3, -1, handle_searchaddpl },
+ { "searchadd", PERMISSION_ADD, 2, -1, handle_searchadd },
+ { "searchaddpl", PERMISSION_CONTROL, 3, -1, handle_searchaddpl },
{ "seek", PERMISSION_CONTROL, 2, 2, handle_seek },
{ "seekcur", PERMISSION_CONTROL, 1, 1, handle_seekcur },
{ "seekid", PERMISSION_CONTROL, 2, 2, handle_seekid },