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

0.6.5-rc1
Justin Clarke Casey 2009-03-12 20:38:28 +00:00
parent f5ff2eff24
commit bd41639a68
1 changed files with 2 additions and 1 deletions

View File

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