mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
* src/mod_muc/mod_muc_room.erl: Fix badarg return (EJAB-899)
SVN Revision: 2053
This commit is contained in:
parent
a4b715516e
commit
9b370787c2
@ -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
|
||||
|
@ -2703,7 +2703,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