2021-11-22 16:24:44 -05:00
|
|
|
dofile('../modpol.lua');
|
|
|
|
|
|
|
|
|
|
modpol.orgs.reset()
|
|
|
|
|
|
|
|
|
|
test_org = modpol.instance:add_org('test_org', 'luke')
|
|
|
|
|
test_org:add_member('nathan')
|
|
|
|
|
|
|
|
|
|
print(table.concat(test_org:list_members(), ", "))
|
|
|
|
|
|
2021-12-06 16:45:52 -05:00
|
|
|
-- modpol.modules.join_org.initiate("paul", test_org)
|
2021-11-22 16:49:03 -05:00
|
|
|
|
2021-12-06 16:45:52 -05:00
|
|
|
test_org:call_module(
|
|
|
|
|
"join_org_class",
|
|
|
|
|
"paul"
|
|
|
|
|
)
|