mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
Use the new short_prepd_jid/1 function from jlib.
SVN Revision: 1544
This commit is contained in:
parent
ab75683bc9
commit
5aead42964
@ -5,6 +5,8 @@
|
||||
STRINGPREP'd parts, use the new short_prepd_jid/1 and
|
||||
short_prepd_bare_jid/1 functions.
|
||||
|
||||
* src/acl.erl: Use the new short_prepd_jid/1 function from jlib.
|
||||
|
||||
2008-08-14 Jean-Sébastien Pédron <js.pedron@meetic-corp.com>
|
||||
|
||||
* translate.erl (ascii_tolower): Accept 'undefined' as a language and
|
||||
|
@ -158,7 +158,7 @@ match_acl(ACL, JID, Host) ->
|
||||
all -> true;
|
||||
none -> false;
|
||||
_ ->
|
||||
{User, Server, Resource} = jlib:short_jid(JID),
|
||||
{User, Server, Resource} = jlib:short_prepd_jid(JID),
|
||||
lists:any(fun(#acl{aclspec = Spec}) ->
|
||||
case Spec of
|
||||
all ->
|
||||
|
Loading…
Reference in New Issue
Block a user