mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-26 16:26:24 +01:00
* src/mod_muc/mod_muc_room.erl: Fix badarg return (EJAB-899)
SVN Revision: 2053
This commit is contained in:
parent
ced30acb20
commit
e202ec009e
@ -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>
|
||||
|
||||
* src/mod_pubsub/mod_pubsub.erl: API change for major optimization
|
||||
|
@ -2689,7 +2689,7 @@ is_allowed_persistent_change(XEl, StateData, From) ->
|
||||
true;
|
||||
true ->
|
||||
{_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.
|
||||
|
||||
%% Check if the Room Name and Room Description defined in the Data Form
|
||||
|
Loading…
Reference in New Issue
Block a user