diff options
author | Justin Clark-Casey (justincc) | 2012-08-20 20:24:54 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-08-20 20:24:54 +0100 |
commit | bcbd450fe441e94d6c0f547055b4e95f75a5b0d0 (patch) | |
tree | ad92a6256830933073261fe0f715b006fd94c341 /OpenSim/Framework | |
parent | Fix scripted detach of temp attachments (diff) | |
download | opensim-SC_OLD-bcbd450fe441e94d6c0f547055b4e95f75a5b0d0.zip opensim-SC_OLD-bcbd450fe441e94d6c0f547055b4e95f75a5b0d0.tar.gz opensim-SC_OLD-bcbd450fe441e94d6c0f547055b4e95f75a5b0d0.tar.bz2 opensim-SC_OLD-bcbd450fe441e94d6c0f547055b4e95f75a5b0d0.tar.xz |
Add --force flag to "kick user" console command to allow bypassing of recent race condition checks.
This is to allow a second attempt to remove an avatar even if "show connections" shows them as already inactive (i.e. close has already been attempted once).
You should only attempt --force if a normal kick fails.
This is partly for diagnostics as we have seen some connections occasionally remain on lbsa plaza even if they are registered as inactive.
This is not a permanent solution and may not work anyway - the ultimate solution is to stop this problem from happening in the first place.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/IClientAPI.cs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/OpenSim/Framework/IClientAPI.cs b/OpenSim/Framework/IClientAPI.cs index d5952c4..8a63bff 100644 --- a/OpenSim/Framework/IClientAPI.cs +++ b/OpenSim/Framework/IClientAPI.cs | |||
@@ -1033,7 +1033,21 @@ namespace OpenSim.Framework | |||
1033 | 1033 | ||
1034 | void InPacket(object NewPack); | 1034 | void InPacket(object NewPack); |
1035 | void ProcessInPacket(Packet NewPack); | 1035 | void ProcessInPacket(Packet NewPack); |
1036 | |||
1037 | /// <summary> | ||
1038 | /// Close this client | ||
1039 | /// </summary> | ||
1036 | void Close(); | 1040 | void Close(); |
1041 | |||
1042 | /// <summary> | ||
1043 | /// Close this client | ||
1044 | /// </summary> | ||
1045 | /// <param name='force'> | ||
1046 | /// If true, attempts the close without checking active status. You do not want to try this except as a last | ||
1047 | /// ditch attempt where Active == false but the ScenePresence still exists. | ||
1048 | /// </param> | ||
1049 | void Close(bool force); | ||
1050 | |||
1037 | void Kick(string message); | 1051 | void Kick(string message); |
1038 | 1052 | ||
1039 | /// <summary> | 1053 | /// <summary> |