From b831a91852b34473f993f9a3e88ddd4e0c8455ca Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Mon, 25 Feb 2008 06:33:14 +0000 Subject: * Message Server Linkages (still not ready for use so don't start it yet) --- OpenSim/Grid/UserServer/UserLoginService.cs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'OpenSim/Grid/UserServer/UserLoginService.cs') diff --git a/OpenSim/Grid/UserServer/UserLoginService.cs b/OpenSim/Grid/UserServer/UserLoginService.cs index 80899e8..a82b978 100644 --- a/OpenSim/Grid/UserServer/UserLoginService.cs +++ b/OpenSim/Grid/UserServer/UserLoginService.cs @@ -144,7 +144,13 @@ namespace OpenSim.Grid.UserServer m_log.ErrorFormat( "[LOGIN]: XMLRPC request for {0} failed, fault code: {1}, reason: {2}", SimInfo.httpServerURI, GridResp.FaultCode, GridResp.FaultString); - } + } + handler001 = OnUserLoggedInAtLocation; + if (handler001 != null) + { + m_log.Info("[LOGIN]: Letting other objects know about login"); + handler001(theUser.UUID, theUser.currentAgent.sessionID, theUser.currentAgent.currentRegion, theUser.currentAgent.currentHandle, theUser.currentAgent.currentPos); + } } catch (Exception) { @@ -219,6 +225,7 @@ namespace OpenSim.Grid.UserServer handler001 = OnUserLoggedInAtLocation; if (handler001 != null) { + m_log.Info("[LOGIN]: Letting other objects know about login"); handler001(theUser.UUID, theUser.currentAgent.sessionID, theUser.currentAgent.currentRegion, theUser.currentAgent.currentHandle, theUser.currentAgent.currentPos); } } -- cgit v1.1