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:
kcozens
2013-06-30 19:22:13 +00:00
parent 737d27bd51
commit 53e3e9bec9
3 changed files with 2 additions and 2 deletions
@@ -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.