diff --git a/ChangeLog b/ChangeLog index 16e43fbb6..44e8ce592 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2009-05-03 Badlop + + * src/mod_muc/mod_muc_room.erl: Fix badarg return (EJAB-899) + 2009-04-30 Christophe Romain * src/mod_pubsub/mod_pubsub.erl: API change for major optimization diff --git a/src/mod_muc/mod_muc_room.erl b/src/mod_muc/mod_muc_room.erl index 634552938..6acd5dfb7 100644 --- a/src/mod_muc/mod_muc_room.erl +++ b/src/mod_muc/mod_muc_room.erl @@ -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