avoid a null ref

0.9.0-post-fixes
UbitUmarov 2017-08-03 18:09:26 +01:00
parent f658b68181
commit a4e7ab6fcf
1 changed files with 4 additions and 3 deletions

View File

@ -395,6 +395,7 @@ namespace OpenSim.Services.HypergridService
{ {
if(SendAgentGodKillToRegion(UUID.Zero, agentID, guinfo)) if(SendAgentGodKillToRegion(UUID.Zero, agentID, guinfo))
{ {
if(account != null)
m_log.InfoFormat( m_log.InfoFormat(
"[GATEKEEPER SERVICE]: Login failed for {0} {1}, reason: already logged in", "[GATEKEEPER SERVICE]: Login failed for {0} {1}, reason: already logged in",
account.FirstName, account.LastName); account.FirstName, account.LastName);