mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
Only apply group creation fee > 0 and pass group name when applying fee
This commit is contained in:
@@ -781,8 +781,8 @@ namespace OpenSim.Groups
|
||||
|
||||
if (groupID != UUID.Zero)
|
||||
{
|
||||
if (money != null)
|
||||
money.ApplyCharge(remoteClient.AgentId, money.GroupCreationCharge, MoneyTransactionType.GroupCreate);
|
||||
if (money != null && money.GroupCreationCharge > 0)
|
||||
money.ApplyCharge(remoteClient.AgentId, money.GroupCreationCharge, MoneyTransactionType.GroupCreate, name);
|
||||
|
||||
remoteClient.SendCreateGroupReply(groupID, true, "Group created successfully");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user