diff options
author | Justin Clarke Casey | 2008-12-09 16:16:16 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-12-09 16:16:16 +0000 |
commit | 557567dcf8cd950afbee7d8e60e1148068031612 (patch) | |
tree | a6cf37800040c3eaeab9b0eeaf35ba9c237025d8 /OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | |
parent | From: Christopher Yeoh <yeohc@au1.ibm.com> (diff) | |
download | opensim-SC_OLD-557567dcf8cd950afbee7d8e60e1148068031612.zip opensim-SC_OLD-557567dcf8cd950afbee7d8e60e1148068031612.tar.gz opensim-SC_OLD-557567dcf8cd950afbee7d8e60e1148068031612.tar.bz2 opensim-SC_OLD-557567dcf8cd950afbee7d8e60e1148068031612.tar.xz |
* minor: remove some old logging messages
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs index aa74e01..586fa43 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | |||
@@ -169,22 +169,24 @@ namespace OpenSim.Region.Environment.Scenes | |||
169 | 169 | ||
170 | if (item != null) | 170 | if (item != null) |
171 | { | 171 | { |
172 | if ((InventoryType) item.InvType == InventoryType.Notecard) | 172 | if ((InventoryType)item.InvType == InventoryType.Notecard) |
173 | { | 173 | { |
174 | if (!Permissions.CanEditNotecard(itemID, UUID.Zero, remoteClient.AgentId)) | 174 | if (!Permissions.CanEditNotecard(itemID, UUID.Zero, remoteClient.AgentId)) |
175 | { | 175 | { |
176 | remoteClient.SendAgentAlertMessage("Insufficient permissions to edit notecard", false); | 176 | remoteClient.SendAgentAlertMessage("Insufficient permissions to edit notecard", false); |
177 | return UUID.Zero; | 177 | return UUID.Zero; |
178 | } | 178 | } |
179 | |||
179 | remoteClient.SendAgentAlertMessage("Notecard saved", false); | 180 | remoteClient.SendAgentAlertMessage("Notecard saved", false); |
180 | } | 181 | } |
181 | else if ((InventoryType) item.InvType == InventoryType.LSL) | 182 | else if ((InventoryType)item.InvType == InventoryType.LSL) |
182 | { | 183 | { |
183 | if (!Permissions.CanEditScript(itemID, UUID.Zero, remoteClient.AgentId)) | 184 | if (!Permissions.CanEditScript(itemID, UUID.Zero, remoteClient.AgentId)) |
184 | { | 185 | { |
185 | remoteClient.SendAgentAlertMessage("Insufficient permissions to edit script", false); | 186 | remoteClient.SendAgentAlertMessage("Insufficient permissions to edit script", false); |
186 | return UUID.Zero; | 187 | return UUID.Zero; |
187 | } | 188 | } |
189 | |||
188 | remoteClient.SendAgentAlertMessage("Script saved", false); | 190 | remoteClient.SendAgentAlertMessage("Script saved", false); |
189 | } | 191 | } |
190 | 192 | ||