diff options
author | Adam Frisby | 2008-04-30 21:43:47 +0000 |
---|---|---|
committer | Adam Frisby | 2008-04-30 21:43:47 +0000 |
commit | be20f41637b6c06ce3ab16bc25851b6e43468e12 (patch) | |
tree | c41081329891f4c24de704fc760fb9012954ac9d /OpenSim/Region/Environment/Modules/Avatar/Profiles | |
parent | * Sometimes you know, you do something really stupid. (diff) | |
download | opensim-SC_OLD-be20f41637b6c06ce3ab16bc25851b6e43468e12.zip opensim-SC_OLD-be20f41637b6c06ce3ab16bc25851b6e43468e12.tar.gz opensim-SC_OLD-be20f41637b6c06ce3ab16bc25851b6e43468e12.tar.bz2 opensim-SC_OLD-be20f41637b6c06ce3ab16bc25851b6e43468e12.tar.xz |
* Cruft removal step #1. Cleaning Modules directory.
Diffstat (limited to 'OpenSim/Region/Environment/Modules/Avatar/Profiles')
-rw-r--r-- | OpenSim/Region/Environment/Modules/Avatar/Profiles/AvatarProfilesModule.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Modules/Avatar/Profiles/AvatarProfilesModule.cs b/OpenSim/Region/Environment/Modules/Avatar/Profiles/AvatarProfilesModule.cs index f8b14d3..1955d2a 100644 --- a/OpenSim/Region/Environment/Modules/Avatar/Profiles/AvatarProfilesModule.cs +++ b/OpenSim/Region/Environment/Modules/Avatar/Profiles/AvatarProfilesModule.cs | |||
@@ -45,6 +45,8 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Profiles | |||
45 | { | 45 | { |
46 | } | 46 | } |
47 | 47 | ||
48 | #region IRegionModule Members | ||
49 | |||
48 | public void Initialise(Scene scene, IConfigSource config) | 50 | public void Initialise(Scene scene, IConfigSource config) |
49 | { | 51 | { |
50 | m_scene = scene; | 52 | m_scene = scene; |
@@ -69,6 +71,8 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Profiles | |||
69 | get { return false; } | 71 | get { return false; } |
70 | } | 72 | } |
71 | 73 | ||
74 | #endregion | ||
75 | |||
72 | public void NewClient(IClientAPI client) | 76 | public void NewClient(IClientAPI client) |
73 | { | 77 | { |
74 | client.OnRequestAvatarProperties += RequestAvatarProperty; | 78 | client.OnRequestAvatarProperties += RequestAvatarProperty; |
@@ -107,7 +111,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Profiles | |||
107 | public void UpdateAvatarProperties(IClientAPI remoteClient, UserProfileData newProfile) | 111 | public void UpdateAvatarProperties(IClientAPI remoteClient, UserProfileData newProfile) |
108 | { | 112 | { |
109 | UserProfileData Profile = m_scene.CommsManager.UserService.GetUserProfile(newProfile.ID); | 113 | UserProfileData Profile = m_scene.CommsManager.UserService.GetUserProfile(newProfile.ID); |
110 | 114 | ||
111 | // if it's the profile of the user requesting the update, then we change only a few things. | 115 | // if it's the profile of the user requesting the update, then we change only a few things. |
112 | if (remoteClient.AgentId.CompareTo(Profile.ID) == 0) | 116 | if (remoteClient.AgentId.CompareTo(Profile.ID) == 0) |
113 | { | 117 | { |