diff options
author | Justin Clarke Casey | 2009-03-12 20:38:28 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2009-03-12 20:38:28 +0000 |
commit | bd41639a68435fd053a3bf5b75b9af40a99d481e (patch) | |
tree | 3dbaf1abc85415bc6805290f7ff0a7ef65cd1cf0 /OpenSim/Region/Framework/Scenes | |
parent | * minor: Lable the heartbeat thread with the region it's beating for (diff) | |
download | opensim-SC_OLD-bd41639a68435fd053a3bf5b75b9af40a99d481e.zip opensim-SC_OLD-bd41639a68435fd053a3bf5b75b9af40a99d481e.tar.gz opensim-SC_OLD-bd41639a68435fd053a3bf5b75b9af40a99d481e.tar.bz2 opensim-SC_OLD-bd41639a68435fd053a3bf5b75b9af40a99d481e.tar.xz |
* Don't fail the client login if there are no OnClientConnect listeners
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/EventManager.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/EventManager.cs b/OpenSim/Region/Framework/Scenes/EventManager.cs index 9d47f87..8a556d9 100644 --- a/OpenSim/Region/Framework/Scenes/EventManager.cs +++ b/OpenSim/Region/Framework/Scenes/EventManager.cs | |||
@@ -479,7 +479,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
479 | if (client is IClientCore) | 479 | if (client is IClientCore) |
480 | { | 480 | { |
481 | handlerClientConnect = OnClientConnect; | 481 | handlerClientConnect = OnClientConnect; |
482 | handlerClientConnect((IClientCore) client); | 482 | if (handlerClientConnect != null) |
483 | handlerClientConnect((IClientCore)client); | ||
483 | } | 484 | } |
484 | } | 485 | } |
485 | 486 | ||