mirror of
https://github.com/opensim/opensim.git
synced 2026-05-15 03:15:41 +08:00
avoid a null ref
This commit is contained in:
@@ -395,9 +395,10 @@ namespace OpenSim.Services.HypergridService
|
||||
{
|
||||
if(SendAgentGodKillToRegion(UUID.Zero, agentID, guinfo))
|
||||
{
|
||||
m_log.InfoFormat(
|
||||
"[GATEKEEPER SERVICE]: Login failed for {0} {1}, reason: already logged in",
|
||||
account.FirstName, account.LastName);
|
||||
if(account != null)
|
||||
m_log.InfoFormat(
|
||||
"[GATEKEEPER SERVICE]: Login failed for {0} {1}, reason: already logged in",
|
||||
account.FirstName, account.LastName);
|
||||
reason = "You appear to be already logged in on the destination grid " +
|
||||
"Please wait a a minute or two and retry. " +
|
||||
"If this takes longer than a few minutes please contact the grid owner.";
|
||||
|
||||
Reference in New Issue
Block a user