25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01:00

* src/mod_muc/mod_muc_room.erl: Fix badarg return (EJAB-899)

SVN Revision: 2053
This commit is contained in:
Badlop 2009-05-03 11:26:18 +00:00
parent ced30acb20
commit e202ec009e
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2009-05-03 Badlop <badlop@process-one.net>
* src/mod_muc/mod_muc_room.erl: Fix badarg return (EJAB-899)
2009-04-30 Christophe Romain <christophe.romain@process-one.net> 2009-04-30 Christophe Romain <christophe.romain@process-one.net>
* src/mod_pubsub/mod_pubsub.erl: API change for major optimization * src/mod_pubsub/mod_pubsub.erl: API change for major optimization

View File

@ -2689,7 +2689,7 @@ is_allowed_persistent_change(XEl, StateData, From) ->
true; true;
true -> true ->
{_AccessRoute, _AccessCreate, _AccessAdmin, AccessPersistent} = StateData#state.access, {_AccessRoute, _AccessCreate, _AccessAdmin, AccessPersistent} = StateData#state.access,
acl:match_rule(StateData#state.server_host, AccessPersistent, From) (allow == acl:match_rule(StateData#state.server_host, AccessPersistent, From))
end. end.
%% Check if the Room Name and Room Description defined in the Data Form %% Check if the Room Name and Room Description defined in the Data Form