diff options
Diffstat (limited to 'src/acl.erl')
-rw-r--r-- | src/acl.erl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/acl.erl b/src/acl.erl index c135c254..4088c856 100644 --- a/src/acl.erl +++ b/src/acl.erl @@ -180,6 +180,10 @@ match_acl(ACL, JID, Host) -> ((Host == global) andalso lists:member(Server, ?MYHOSTS))) andalso is_regexp_match(User, UR); + {shared_group, G} -> + mod_shared_roster:is_user_in_group({User, Server}, G, Host); + {shared_group, G, H} -> + mod_shared_roster:is_user_in_group({User, Server}, G, H); {user_regexp, UR, S} -> (S == Server) andalso is_regexp_match(User, UR); |