minor: remove double initialization of user appearance module in Grid.UserServer.Main
parent
97c18caa76
commit
03438f7d44
|
@ -1221,11 +1221,13 @@ namespace OpenSim.Framework.Communications.Services
|
|||
{
|
||||
return Util.CreateUnknownUserErrorResponse();
|
||||
}
|
||||
|
||||
UUID.TryParse((string)requestData["session_id"], out guess_sid);
|
||||
if (guess_sid == UUID.Zero)
|
||||
{
|
||||
return Util.CreateUnknownUserErrorResponse();
|
||||
}
|
||||
|
||||
if (m_userManager.VerifySession(guess_aid, guess_sid))
|
||||
{
|
||||
authed = "TRUE";
|
||||
|
@ -1243,6 +1245,5 @@ namespace OpenSim.Framework.Communications.Services
|
|||
response.Value = responseData;
|
||||
return response;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
|
@ -260,8 +260,6 @@ namespace OpenSim.Grid.UserServer
|
|||
m_userManager.PostInitialise();
|
||||
m_avatarAppearanceModule.PostInitialise();
|
||||
m_friendsModule.PostInitialise();
|
||||
|
||||
m_avatarAppearanceModule.PostInitialise();
|
||||
}
|
||||
|
||||
protected virtual void RegisterHttpHandlers()
|
||||
|
@ -276,8 +274,6 @@ namespace OpenSim.Grid.UserServer
|
|||
m_avatarAppearanceModule.RegisterHandlers(m_httpServer);
|
||||
m_messagesService.RegisterHandlers(m_httpServer);
|
||||
m_gridInfoService.RegisterHandlers(m_httpServer);
|
||||
|
||||
m_avatarAppearanceModule.RegisterHandlers(m_httpServer);
|
||||
}
|
||||
|
||||
public override void ShutdownSpecific()
|
||||
|
|
Loading…
Reference in New Issue