mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
* src/acl.erl: The server does not crash anymore on wrong acl rule. Add
rule error message in log file (EJAB-118). SVN Revision: 589
This commit is contained in:
parent
6290bac932
commit
e965aae60a
@ -1,3 +1,8 @@
|
||||
2006-07-16 Mickael Remond <mickael.remond@process-one.net>
|
||||
|
||||
* src/acl.erl: The server does not crash anymore on wrong acl rule. Add
|
||||
rule error message in log file.
|
||||
|
||||
2006-07-07 Mickael Remond <mickael.remond@process-one.net>
|
||||
|
||||
* src/web/ejabberd_web_admin.erl: User creation form now creates the
|
||||
|
@ -171,7 +171,13 @@ match_acl(ACL, JID, Host) ->
|
||||
is_glob_match(Server, SR);
|
||||
{node_glob, UR, SR} ->
|
||||
is_glob_match(Server, SR) andalso
|
||||
is_glob_match(User, UR)
|
||||
is_glob_match(User, UR);
|
||||
WrongSpec ->
|
||||
?ERROR_MSG(
|
||||
"Wrong ACL expression: ~p~n"
|
||||
"Check your config file and reload it with the override_acls option enabled",
|
||||
[WrongSpec]),
|
||||
false
|
||||
end
|
||||
end,
|
||||
ets:lookup(acl, {ACL, global}) ++
|
||||
|
Loading…
Reference in New Issue
Block a user