diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-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 8936cb2..1e8b51b 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | |||
@@ -2877,7 +2877,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
2877 | avatar.SpeedModifier = (float)SpeedModifier; | 2877 | avatar.SpeedModifier = (float)SpeedModifier; |
2878 | } | 2878 | } |
2879 | 2879 | ||
2880 | public void osKickAvatar(string FirstName,string SurName,string alert) | 2880 | public void osKickAvatar(string FirstName, string SurName, string alert) |
2881 | { | 2881 | { |
2882 | CheckThreatLevel(ThreatLevel.Severe, "osKickAvatar"); | 2882 | CheckThreatLevel(ThreatLevel.Severe, "osKickAvatar"); |
2883 | m_host.AddScriptLPS(1); | 2883 | m_host.AddScriptLPS(1); |
@@ -2891,7 +2891,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
2891 | sp.ControllingClient.Kick(alert); | 2891 | sp.ControllingClient.Kick(alert); |
2892 | 2892 | ||
2893 | // ...and close on our side | 2893 | // ...and close on our side |
2894 | sp.Scene.IncomingCloseAgent(sp.UUID); | 2894 | sp.Scene.IncomingCloseAgent(sp.UUID, false); |
2895 | } | 2895 | } |
2896 | }); | 2896 | }); |
2897 | } | 2897 | } |