Merge branch 'master' into careminster
commit
fb8aa22084
|
@ -320,7 +320,7 @@ namespace OpenSim.Framework
|
|||
public delegate void ObjectPermissions(
|
||||
IClientAPI controller, UUID agentID, UUID sessionID, byte field, uint localId, uint mask, byte set);
|
||||
|
||||
public delegate void EconomyDataRequest(UUID agentID);
|
||||
public delegate void EconomyDataRequest(IClientAPI client);
|
||||
|
||||
public delegate void ObjectIncludeInSearch(IClientAPI remoteClient, bool IncludeInSearch, uint localID);
|
||||
|
||||
|
|
|
@ -9863,7 +9863,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
|||
EconomyDataRequest handlerEconomoyDataRequest = OnEconomyDataRequest;
|
||||
if (handlerEconomoyDataRequest != null)
|
||||
{
|
||||
handlerEconomoyDataRequest(AgentId);
|
||||
handlerEconomoyDataRequest(this);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -688,11 +688,7 @@ namespace OpenSim.Region.OptionalModules.World.MoneyModule
|
|||
/// Event called Economy Data Request handler.
|
||||
/// </summary>
|
||||
/// <param name="agentId"></param>
|
||||
public void EconomyDataRequestHandler(UUID agentId)
|
||||
{
|
||||
IClientAPI user = LocateClientObject(agentId);
|
||||
|
||||
if (user != null)
|
||||
public void EconomyDataRequestHandler(IClientAPI user)
|
||||
{
|
||||
Scene s = LocateSceneClientIn(user.AgentId);
|
||||
|
||||
|
@ -701,7 +697,6 @@ namespace OpenSim.Region.OptionalModules.World.MoneyModule
|
|||
PriceParcelRent, PricePublicObjectDecay, PricePublicObjectDelete, PriceRentLight, PriceUpload,
|
||||
TeleportMinPrice, TeleportPriceExponent);
|
||||
}
|
||||
}
|
||||
|
||||
private void ValidateLandBuy(Object osender, EventManager.LandBuyArgs e)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue