diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | src/mod_muc/mod_muc_room.erl | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -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 diff --git a/src/mod_muc/mod_muc_room.erl b/src/mod_muc/mod_muc_room.erl index 63455293..6acd5dfb 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 |