aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/Caps
diff options
context:
space:
mode:
authorMelanie2012-10-18 20:56:34 +0100
committerMelanie2012-10-18 20:56:34 +0100
commit72c925a6c9eb4dea6f9134db10c3af28ea83df48 (patch)
tree9f991ade4e71f91fc612759b4e783c9f01a740f3 /OpenSim/Region/ClientStack/Linden/Caps
parentMerge branch 'master' into careminster (diff)
parentRemove redundant and annoyingly modal message box in upload processing. (diff)
downloadopensim-SC_OLD-72c925a6c9eb4dea6f9134db10c3af28ea83df48.zip
opensim-SC_OLD-72c925a6c9eb4dea6f9134db10c3af28ea83df48.tar.gz
opensim-SC_OLD-72c925a6c9eb4dea6f9134db10c3af28ea83df48.tar.bz2
opensim-SC_OLD-72c925a6c9eb4dea6f9134db10c3af28ea83df48.tar.xz
Merge branch 'avination' into careminster
Conflicts: OpenSim/Framework/WebUtil.cs OpenSim/Region/Physics/OdePlugin/OdeScene.cs
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/Caps')
-rw-r--r--OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs22
-rw-r--r--OpenSim/Region/ClientStack/Linden/Caps/RegionConsoleModule.cs2
2 files changed, 12 insertions, 12 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs b/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs
index f509d94..f6146a9 100644
--- a/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs
+++ b/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs
@@ -1117,17 +1117,17 @@ namespace OpenSim.Region.ClientStack.Linden
1117 else 1117 else
1118 { 1118 {
1119 AddNewInventoryItem(m_HostCapsObj.AgentID, item, (uint)cost); 1119 AddNewInventoryItem(m_HostCapsObj.AgentID, item, (uint)cost);
1120 if (client != null) 1120// if (client != null)
1121 { 1121// {
1122 // let users see anything.. i don't so far 1122// // let users see anything.. i don't so far
1123 string str; 1123// string str;
1124 if (cost > 0) 1124// if (cost > 0)
1125 // dont remember where is money unit name to put here 1125// // dont remember where is money unit name to put here
1126 str = "Upload complete. charged " + cost.ToString() + "$"; 1126// str = "Upload complete. charged " + cost.ToString() + "$";
1127 else 1127// else
1128 str = "Upload complete"; 1128// str = "Upload complete";
1129 client.SendAgentAlertMessage(str, true); 1129// client.SendAgentAlertMessage(str, true);
1130 } 1130// }
1131 } 1131 }
1132 } 1132 }
1133 1133
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/RegionConsoleModule.cs b/OpenSim/Region/ClientStack/Linden/Caps/RegionConsoleModule.cs
index bac71b0..fcac182 100644
--- a/OpenSim/Region/ClientStack/Linden/Caps/RegionConsoleModule.cs
+++ b/OpenSim/Region/ClientStack/Linden/Caps/RegionConsoleModule.cs
@@ -104,7 +104,7 @@ namespace OpenSim.Region.ClientStack.Linden
104 104
105 public void RegisterCaps(UUID agentID, Caps caps) 105 public void RegisterCaps(UUID agentID, Caps caps)
106 { 106 {
107 if (!m_scene.RegionInfo.EstateSettings.IsEstateManagerOrOwner(agentID)) 107 if (!m_scene.RegionInfo.EstateSettings.IsEstateManagerOrOwner(agentID) && !m_scene.Permissions.IsGod(agentID))
108 return; 108 return;
109 109
110 UUID capID = UUID.Random(); 110 UUID capID = UUID.Random();