From eb330f71be3fd1dd6f3c82fb3ad60bfd8be7e894 Mon Sep 17 00:00:00 2001 From: Arthur Valadares Date: Mon, 1 Jun 2009 18:34:40 +0000 Subject: * Making silent logoff of old hung sessions for new connections default for StandAlone users. Not touching grid. --- OpenSim/Framework/Communications/Services/LoginService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Framework/Communications/Services') diff --git a/OpenSim/Framework/Communications/Services/LoginService.cs b/OpenSim/Framework/Communications/Services/LoginService.cs index 36ec26e..900a3d9 100644 --- a/OpenSim/Framework/Communications/Services/LoginService.cs +++ b/OpenSim/Framework/Communications/Services/LoginService.cs @@ -181,10 +181,9 @@ namespace OpenSim.Framework.Communications.Services // try to tell the region that their user is dead. LogOffUser(userProfile, " XMLRPC You were logged off because you logged in from another location"); - // Reject the login - if (m_warn_already_logged) { + // This is behavior for for grid, reject login m_log.InfoFormat( "[LOGIN END]: XMLRPC Notifying user {0} {1} that they are already logged in", firstname, lastname); @@ -193,6 +192,7 @@ namespace OpenSim.Framework.Communications.Services } else { + // This is behavior for standalone (silent logout of last hung session) m_log.InfoFormat( "[LOGIN]: User {0} {1} is already logged in, not notifying user, kicking old presence and starting new login.", firstname, lastname); -- cgit v1.1