mirror of
https://github.com/kcozens/OpenSimProfile.git
synced 2026-08-14 09:02:00 +00:00
Apply classified ad fee and not group fee (cut and paste error). Updated DLL.
git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@117 19860011-0018-435d-96ae-4a7b0aaa3128
This commit is contained in:
@@ -331,7 +331,7 @@ namespace OpenSimProfile.Modules.OpenProfile
|
||||
IMoneyModule money = s.RequestModuleInterface<IMoneyModule>();
|
||||
if (money != null)
|
||||
{
|
||||
if (!money.AmountCovered(remoteClient.AgentId, money.GroupCreationCharge))
|
||||
if (!money.AmountCovered(remoteClient.AgentId, queryclassifiedPrice))
|
||||
{
|
||||
remoteClient.SendCreateGroupReply(UUID.Zero, false, "Insufficient funds to create a classified ad.");
|
||||
return;
|
||||
@@ -350,7 +350,7 @@ namespace OpenSimProfile.Modules.OpenProfile
|
||||
|
||||
if (money != null && Convert.ToBoolean(result["created"]))
|
||||
{
|
||||
money.ApplyCharge(remoteClient.AgentId, money.GroupCreationCharge,
|
||||
money.ApplyCharge(remoteClient.AgentId, queryclassifiedPrice,
|
||||
"Classified ad created: " + queryName);
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user