author | Matthew Wild <mwild1@gmail.com> |
Wed, 03 Apr 2013 13:40:29 +0100 | |
changeset 5417 | d13ec6622752 |
parent 5416 | 0ba3a49d3863 |
child 5418 | 7f270fbf3361 |
--- a/plugins/mod_groups.lua Wed Apr 03 13:39:41 2013 +0100 +++ b/plugins/mod_groups.lua Wed Apr 03 13:40:29 2013 +0100 @@ -121,3 +121,8 @@ function module.unload() datamanager.remove_callback(remove_virtual_contacts); end + +-- Public for other modules to access +function group_contains(group_name, jid) + return groups[group_name][jid]; +end