diff options
Diffstat (limited to 'OpenSim/Grid/UserServer/UserLoginService.cs')
-rw-r--r-- | OpenSim/Grid/UserServer/UserLoginService.cs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/OpenSim/Grid/UserServer/UserLoginService.cs b/OpenSim/Grid/UserServer/UserLoginService.cs index 143c990..0b832f4 100644 --- a/OpenSim/Grid/UserServer/UserLoginService.cs +++ b/OpenSim/Grid/UserServer/UserLoginService.cs | |||
@@ -54,7 +54,7 @@ namespace OpenSim.Grid.UserServer | |||
54 | 54 | ||
55 | public event UserLoggedInAtLocation OnUserLoggedInAtLocation; | 55 | public event UserLoggedInAtLocation OnUserLoggedInAtLocation; |
56 | 56 | ||
57 | private UserLoggedInAtLocation handler001 = null; | 57 | private UserLoggedInAtLocation handlerUserLoggedInAtLocation = null; |
58 | 58 | ||
59 | public UserConfig m_config; | 59 | public UserConfig m_config; |
60 | 60 | ||
@@ -147,11 +147,11 @@ namespace OpenSim.Grid.UserServer | |||
147 | "[LOGIN]: XMLRPC request for {0} failed, fault code: {1}, reason: {2}", | 147 | "[LOGIN]: XMLRPC request for {0} failed, fault code: {1}, reason: {2}", |
148 | SimInfo.httpServerURI, GridResp.FaultCode, GridResp.FaultString); | 148 | SimInfo.httpServerURI, GridResp.FaultCode, GridResp.FaultString); |
149 | } | 149 | } |
150 | handler001 = OnUserLoggedInAtLocation; | 150 | handlerUserLoggedInAtLocation = OnUserLoggedInAtLocation; |
151 | if (handler001 != null) | 151 | if (handlerUserLoggedInAtLocation != null) |
152 | { | 152 | { |
153 | m_log.Info("[LOGIN]: Letting other objects know about login"); | 153 | m_log.Info("[LOGIN]: Letting other objects know about login"); |
154 | handler001(theUser.UUID, theUser.currentAgent.sessionID, theUser.currentAgent.currentRegion, | 154 | handlerUserLoggedInAtLocation(theUser.UUID, theUser.currentAgent.sessionID, theUser.currentAgent.currentRegion, |
155 | theUser.currentAgent.currentHandle, theUser.currentAgent.currentPos.X,theUser.currentAgent.currentPos.Y,theUser.currentAgent.currentPos.Z, | 155 | theUser.currentAgent.currentHandle, theUser.currentAgent.currentPos.X,theUser.currentAgent.currentPos.Y,theUser.currentAgent.currentPos.Z, |
156 | theUser.username,theUser.surname); | 156 | theUser.username,theUser.surname); |
157 | } | 157 | } |
@@ -226,11 +226,11 @@ namespace OpenSim.Grid.UserServer | |||
226 | // Send | 226 | // Send |
227 | XmlRpcRequest GridReq = new XmlRpcRequest("expect_user", SendParams); | 227 | XmlRpcRequest GridReq = new XmlRpcRequest("expect_user", SendParams); |
228 | XmlRpcResponse GridResp = GridReq.Send(SimInfo.httpServerURI, 6000); | 228 | XmlRpcResponse GridResp = GridReq.Send(SimInfo.httpServerURI, 6000); |
229 | handler001 = OnUserLoggedInAtLocation; | 229 | handlerUserLoggedInAtLocation = OnUserLoggedInAtLocation; |
230 | if (handler001 != null) | 230 | if (handlerUserLoggedInAtLocation != null) |
231 | { | 231 | { |
232 | m_log.Info("[LOGIN]: Letting other objects know about login"); | 232 | m_log.Info("[LOGIN]: Letting other objects know about login"); |
233 | handler001(theUser.UUID, theUser.currentAgent.sessionID, theUser.currentAgent.currentRegion, | 233 | handlerUserLoggedInAtLocation(theUser.UUID, theUser.currentAgent.sessionID, theUser.currentAgent.currentRegion, |
234 | theUser.currentAgent.currentHandle, theUser.currentAgent.currentPos.X, theUser.currentAgent.currentPos.Y, theUser.currentAgent.currentPos.Z, | 234 | theUser.currentAgent.currentHandle, theUser.currentAgent.currentPos.X, theUser.currentAgent.currentPos.Y, theUser.currentAgent.currentPos.Z, |
235 | theUser.username, theUser.surname); | 235 | theUser.username, theUser.surname); |
236 | } | 236 | } |