* Don't fail the client login if there are no OnClientConnect listeners

This commit is contained in:
Justin Clarke Casey
2009-03-12 20:38:28 +00:00
parent f5ff2eff24
commit bd41639a68

View File

@@ -479,7 +479,8 @@ namespace OpenSim.Region.Framework.Scenes
if (client is IClientCore)
{
handlerClientConnect = OnClientConnect;
handlerClientConnect((IClientCore) client);
if (handlerClientConnect != null)
handlerClientConnect((IClientCore)client);
}
}