diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index 859ee93..8b6f76b 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | |||
@@ -2881,7 +2881,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
2881 | avatar.SpeedModifier = (float)SpeedModifier; | 2881 | avatar.SpeedModifier = (float)SpeedModifier; |
2882 | } | 2882 | } |
2883 | 2883 | ||
2884 | public void osKickAvatar(string FirstName,string SurName,string alert) | 2884 | public void osKickAvatar(string FirstName, string SurName, string alert) |
2885 | { | 2885 | { |
2886 | CheckThreatLevel(ThreatLevel.Severe, "osKickAvatar"); | 2886 | CheckThreatLevel(ThreatLevel.Severe, "osKickAvatar"); |
2887 | m_host.AddScriptLPS(1); | 2887 | m_host.AddScriptLPS(1); |
@@ -2895,7 +2895,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
2895 | sp.ControllingClient.Kick(alert); | 2895 | sp.ControllingClient.Kick(alert); |
2896 | 2896 | ||
2897 | // ...and close on our side | 2897 | // ...and close on our side |
2898 | sp.Scene.IncomingCloseAgent(sp.UUID); | 2898 | sp.Scene.IncomingCloseAgent(sp.UUID, false); |
2899 | } | 2899 | } |
2900 | }); | 2900 | }); |
2901 | } | 2901 | } |