diff options
Diffstat (limited to 'OpenSim')
-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 | ||