diff options
author | Kevin Cozens | 2017-01-06 16:58:49 -0500 |
---|---|---|
committer | Kevin Cozens | 2017-01-06 21:15:58 -0500 |
commit | 5bc869391ab387954fe52e9e6522beda6ee1f022 (patch) | |
tree | 01c2804bafc58c11c12010a1e8245a3026d1b4eb /OpenSim/Addons | |
parent | Fix custom dialogs working when bin/ is read-only (diff) | |
download | opensim-SC-5bc869391ab387954fe52e9e6522beda6ee1f022.zip opensim-SC-5bc869391ab387954fe52e9e6522beda6ee1f022.tar.gz opensim-SC-5bc869391ab387954fe52e9e6522beda6ee1f022.tar.bz2 opensim-SC-5bc869391ab387954fe52e9e6522beda6ee1f022.tar.xz |
Only apply group creation fee > 0 and pass group name when applying fee
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Addons/Groups/GroupsModule.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Addons/Groups/GroupsModule.cs b/OpenSim/Addons/Groups/GroupsModule.cs index aa5105e..d3085f6 100644 --- a/OpenSim/Addons/Groups/GroupsModule.cs +++ b/OpenSim/Addons/Groups/GroupsModule.cs | |||
@@ -781,8 +781,8 @@ namespace OpenSim.Groups | |||
781 | 781 | ||
782 | if (groupID != UUID.Zero) | 782 | if (groupID != UUID.Zero) |
783 | { | 783 | { |
784 | if (money != null) | 784 | if (money != null && money.GroupCreationCharge > 0) |
785 | money.ApplyCharge(remoteClient.AgentId, money.GroupCreationCharge, MoneyTransactionType.GroupCreate); | 785 | money.ApplyCharge(remoteClient.AgentId, money.GroupCreationCharge, MoneyTransactionType.GroupCreate, name); |
786 | 786 | ||
787 | remoteClient.SendCreateGroupReply(groupID, true, "Group created successfully"); | 787 | remoteClient.SendCreateGroupReply(groupID, true, "Group created successfully"); |
788 | 788 | ||