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();
|
return Util.CreateUnknownUserErrorResponse();
|
||||||
}
|
}
|
||||||
|
|
||||||
UUID.TryParse((string)requestData["session_id"], out guess_sid);
|
UUID.TryParse((string)requestData["session_id"], out guess_sid);
|
||||||
if (guess_sid == UUID.Zero)
|
if (guess_sid == UUID.Zero)
|
||||||
{
|
{
|
||||||
return Util.CreateUnknownUserErrorResponse();
|
return Util.CreateUnknownUserErrorResponse();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (m_userManager.VerifySession(guess_aid, guess_sid))
|
if (m_userManager.VerifySession(guess_aid, guess_sid))
|
||||||
{
|
{
|
||||||
authed = "TRUE";
|
authed = "TRUE";
|
||||||
|
@ -1243,6 +1245,5 @@ namespace OpenSim.Framework.Communications.Services
|
||||||
response.Value = responseData;
|
response.Value = responseData;
|
||||||
return response;
|
return response;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -260,8 +260,6 @@ namespace OpenSim.Grid.UserServer
|
||||||
m_userManager.PostInitialise();
|
m_userManager.PostInitialise();
|
||||||
m_avatarAppearanceModule.PostInitialise();
|
m_avatarAppearanceModule.PostInitialise();
|
||||||
m_friendsModule.PostInitialise();
|
m_friendsModule.PostInitialise();
|
||||||
|
|
||||||
m_avatarAppearanceModule.PostInitialise();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected virtual void RegisterHttpHandlers()
|
protected virtual void RegisterHttpHandlers()
|
||||||
|
@ -276,8 +274,6 @@ namespace OpenSim.Grid.UserServer
|
||||||
m_avatarAppearanceModule.RegisterHandlers(m_httpServer);
|
m_avatarAppearanceModule.RegisterHandlers(m_httpServer);
|
||||||
m_messagesService.RegisterHandlers(m_httpServer);
|
m_messagesService.RegisterHandlers(m_httpServer);
|
||||||
m_gridInfoService.RegisterHandlers(m_httpServer);
|
m_gridInfoService.RegisterHandlers(m_httpServer);
|
||||||
|
|
||||||
m_avatarAppearanceModule.RegisterHandlers(m_httpServer);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void ShutdownSpecific()
|
public override void ShutdownSpecific()
|
||||||
|
|
Loading…
Reference in New Issue