aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs
diff options
context:
space:
mode:
authorTeravus Ovares2007-11-24 03:28:42 +0000
committerTeravus Ovares2007-11-24 03:28:42 +0000
commit944b118c622159c87e7f89c05892458d88797d58 (patch)
tree576fff3c7791e3df87425d5da862f5c70ec5c0f6 /OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs
parentMake remoting errors because of missing adjacent regions a little more user a... (diff)
downloadopensim-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/ClientStack/ClientView.ProcessPackets.cs')
-rw-r--r--OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs17
1 files changed, 12 insertions, 5 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs
index ca7ba7f..f46c199 100644
--- a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs
+++ b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs
@@ -1075,11 +1075,18 @@ namespace OpenSim.Region.ClientStack
1075 1075
1076 break; 1076 break;
1077 case PacketType.GodKickUser: 1077 case PacketType.GodKickUser:
1078 //GodKickUserPacket gkupack = (GodKickUserPacket) Pack; 1078 OpenSim.Framework.Console.MainLog.Instance.Verbose("CLIENT", "unhandled packet " + Pack.ToString());
1079 //gkupack.UserInfo.GodID; 1079
1080 //gkupack.UserInfo.AgentID; 1080 GodKickUserPacket gkupack = (GodKickUserPacket) Pack;
1081 //gkupack.UserInfo.KickFlags; 1081
1082 //gkupack.UserInfo.Reason; 1082 if (gkupack.UserInfo.GodSessionID == SessionId && this.AgentId == gkupack.UserInfo.GodID)
1083 {
1084 OnGodKickUser(gkupack.UserInfo.GodID, gkupack.UserInfo.GodSessionID, gkupack.UserInfo.AgentID, (uint) 0, gkupack.UserInfo.Reason);
1085 }
1086 else
1087 {
1088 SendAgentAlertMessage("Kick request denied", false);
1089 }
1083 //KickUserPacket kupack = new KickUserPacket(); 1090 //KickUserPacket kupack = new KickUserPacket();
1084 //KickUserPacket.UserInfoBlock kupackib = kupack.UserInfo; 1091 //KickUserPacket.UserInfoBlock kupackib = kupack.UserInfo;
1085 1092