aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2009-08-15 20:08:51 +0000
committerBadlop <badlop@process-one.net>2009-08-15 20:08:51 +0000
commit5ddfccd45ec2395a8d34680f187a68743340c282 (patch)
tree58965932b5b88888679ca36d486b8f79108ed6f9
parentUpdate Ukraininan translation (thanks to Ruslan Rakhmanin) (diff)
If room config violates service policy, return not-acceptable instead of bad-request.
SVN Revision: 2484
-rw-r--r--src/mod_muc/mod_muc_room.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_muc/mod_muc_room.erl b/src/mod_muc/mod_muc_room.erl
index ecf396e04..4c94bb1fa 100644
--- a/src/mod_muc/mod_muc_room.erl
+++ b/src/mod_muc/mod_muc_room.erl
@@ -2642,7 +2642,7 @@ process_iq_owner(From, set, Lang, SubEl, StateData) ->
is_allowed_room_name_desc_limits(XEl,
StateData) of
true -> set_config(XEl, StateData);
- false -> {error, ?ERR_BAD_REQUEST}
+ false -> {error, ?ERR_NOT_ACCEPTABLE}
end;
_ ->
{error, ?ERR_BAD_REQUEST}