diff options
author | Teravus Ovares | 2007-11-24 03:28:42 +0000 |
---|---|---|
committer | Teravus Ovares | 2007-11-24 03:28:42 +0000 |
commit | 944b118c622159c87e7f89c05892458d88797d58 (patch) | |
tree | 576fff3c7791e3df87425d5da862f5c70ec5c0f6 /OpenSim/Region/Environment/Scenes/ScenePresence.cs | |
parent | Make remoting errors because of missing adjacent regions a little more user a... (diff) | |
download | opensim-SC_OLD-944b118c622159c87e7f89c05892458d88797d58.zip opensim-SC_OLD-944b118c622159c87e7f89c05892458d88797d58.tar.gz opensim-SC_OLD-944b118c622159c87e7f89c05892458d88797d58.tar.bz2 opensim-SC_OLD-944b118c622159c87e7f89c05892458d88797d58.tar.xz |
* Added a way for the Region master user to kick individual users from their sim with a custom message. Their client says, "You've been logged off of secondlife, <Your custom message here> and logs them off.
* Added a way for the Region master user to kick *ALL* users from *ALL* their regions in the estate with a custom message.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/ScenePresence.cs | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs index f91913d..6117828 100644 --- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs | |||
@@ -1219,20 +1219,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
1219 | 1219 | ||
1220 | #endregion | 1220 | #endregion |
1221 | 1221 | ||
1222 | public void Kick(string message) | ||
1223 | { | ||
1224 | KickUserPacket kupack = new KickUserPacket(); | ||
1225 | KickUserPacket.UserInfoBlock kupackib = kupack.UserInfo; | ||
1226 | |||
1227 | kupack.UserInfo.AgentID = UUID; | ||
1228 | kupack.UserInfo.SessionID = this.ControllingClient.SessionId; | ||
1229 | 1222 | ||
1230 | kupack.TargetBlock.TargetIP = (uint)0; | ||
1231 | kupack.TargetBlock.TargetPort = (ushort)0; | ||
1232 | kupack.UserInfo.Reason = Helpers.StringToField(message); | ||
1233 | ControllingClient.OutPacket(kupack, ThrottleOutPacketType.Task); | ||
1234 | |||
1235 | } | ||
1236 | public void GrantGodlikePowers(LLUUID agentID, LLUUID sessionID, LLUUID token) | 1223 | public void GrantGodlikePowers(LLUUID agentID, LLUUID sessionID, LLUUID token) |
1237 | { | 1224 | { |
1238 | GrantGodlikePowersPacket respondPacket = new GrantGodlikePowersPacket(); | 1225 | GrantGodlikePowersPacket respondPacket = new GrantGodlikePowersPacket(); |