From be20f41637b6c06ce3ab16bc25851b6e43468e12 Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Wed, 30 Apr 2008 21:43:47 +0000 Subject: * Cruft removal step #1. Cleaning Modules directory. --- .../Environment/Modules/Avatar/Profiles/AvatarProfilesModule.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/Environment/Modules/Avatar/Profiles') 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 { } + #region IRegionModule Members + public void Initialise(Scene scene, IConfigSource config) { m_scene = scene; @@ -69,6 +71,8 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Profiles get { return false; } } + #endregion + public void NewClient(IClientAPI client) { client.OnRequestAvatarProperties += RequestAvatarProperty; @@ -107,7 +111,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Profiles public void UpdateAvatarProperties(IClientAPI remoteClient, UserProfileData newProfile) { UserProfileData Profile = m_scene.CommsManager.UserService.GetUserProfile(newProfile.ID); - + // if it's the profile of the user requesting the update, then we change only a few things. if (remoteClient.AgentId.CompareTo(Profile.ID) == 0) { -- cgit v1.1