diff options
author | Badlop <badlop@process-one.net> | 2009-05-03 11:26:18 +0000 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2009-05-03 11:26:18 +0000 |
commit | 9b370787c2000fdcb922b47bb811e68841402b2b (patch) | |
tree | d608bc2cfbb0e9b6a0e7df9209a5bfc3dcd8bdf6 /src | |
parent | typo fix (diff) |
* src/mod_muc/mod_muc_room.erl: Fix badarg return (EJAB-899)
SVN Revision: 2053
Diffstat (limited to 'src')
-rw-r--r-- | src/mod_muc/mod_muc_room.erl | 2 |
1 files changed, 1 insertions, 1 deletions
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 |