aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Avatar/UserProfiles/UserProfileModule.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar/UserProfiles/UserProfileModule.cs')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/UserProfiles/UserProfileModule.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/UserProfiles/UserProfileModule.cs b/OpenSim/Region/CoreModules/Avatar/UserProfiles/UserProfileModule.cs
index 138c0f7..bc8aeca 100644
--- a/OpenSim/Region/CoreModules/Avatar/UserProfiles/UserProfileModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/UserProfiles/UserProfileModule.cs
@@ -356,7 +356,7 @@ namespace OpenSim.Region.CoreModules.Avatar.UserProfiles
356 return; 356 return;
357 357
358 ScenePresence p = FindPresence(targetID); 358 ScenePresence p = FindPresence(targetID);
359 if (p != null && p.isNPC) 359 if (p != null && p.IsNPC)
360 { 360 {
361 remoteClient.SendAvatarClassifiedReply(targetID, classifieds); 361 remoteClient.SendAvatarClassifiedReply(targetID, classifieds);
362 return; 362 return;
@@ -751,7 +751,7 @@ namespace OpenSim.Region.CoreModules.Avatar.UserProfiles
751 Dictionary<UUID, string> picks = new Dictionary<UUID, string>(); 751 Dictionary<UUID, string> picks = new Dictionary<UUID, string>();
752 752
753 ScenePresence p = FindPresence(targetId); 753 ScenePresence p = FindPresence(targetId);
754 if (p != null && p.isNPC) 754 if (p != null && p.IsNPC)
755 { 755 {
756 remoteClient.SendAvatarPicksReply(targetId, picks); 756 remoteClient.SendAvatarPicksReply(targetId, picks);
757 return; 757 return;
@@ -1165,7 +1165,7 @@ namespace OpenSim.Region.CoreModules.Avatar.UserProfiles
1165 public void NotesUpdate(IClientAPI remoteClient, UUID queryTargetID, string queryNotes) 1165 public void NotesUpdate(IClientAPI remoteClient, UUID queryTargetID, string queryNotes)
1166 { 1166 {
1167 ScenePresence p = FindPresence(queryTargetID); 1167 ScenePresence p = FindPresence(queryTargetID);
1168 if (p != null && p.isNPC) 1168 if (p != null && p.IsNPC)
1169 { 1169 {
1170 remoteClient.SendAgentAlertMessage( 1170 remoteClient.SendAgentAlertMessage(
1171 "Notes for NPCs not available", false); 1171 "Notes for NPCs not available", false);
@@ -1329,7 +1329,7 @@ namespace OpenSim.Region.CoreModules.Avatar.UserProfiles
1329 } 1329 }
1330 1330
1331 ScenePresence p = FindPresence(avatarID); 1331 ScenePresence p = FindPresence(avatarID);
1332 if (p != null && p.isNPC) 1332 if (p != null && p.IsNPC)
1333 { 1333 {
1334 remoteClient.SendAvatarProperties(avatarID, ((INPC)(p.ControllingClient)).profileAbout, ((INPC)(p.ControllingClient)).Born, 1334 remoteClient.SendAvatarProperties(avatarID, ((INPC)(p.ControllingClient)).profileAbout, ((INPC)(p.ControllingClient)).Born,
1335 Utils.StringToBytes("Non Player Character (NPC)"), "NPCs have no life", 0x10, 1335 Utils.StringToBytes("Non Player Character (NPC)"), "NPCs have no life", 0x10,