aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs13
1 files changed, 12 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
index f4a8a6b..8b8ac20 100644
--- a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
@@ -1118,7 +1118,18 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
1118 1118
1119 SceneObjectGroup objatt; 1119 SceneObjectGroup objatt;
1120 1120
1121 UUID rezGroupID = sp.ControllingClient.ActiveGroupId; 1121 UUID rezGroupID;
1122
1123 // This will fail if the user aborts login. sp will exist
1124 // but ControllintClient will be null.
1125 try
1126 {
1127 rezGroupID = sp.ControllingClient.ActiveGroupId;
1128 }
1129 catch
1130 {
1131 return null;
1132 }
1122 1133
1123 if (itemID != UUID.Zero) 1134 if (itemID != UUID.Zero)
1124 objatt = m_invAccessModule.RezObject(sp.ControllingClient, 1135 objatt = m_invAccessModule.RezObject(sp.ControllingClient,