diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs | 17 |
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 | ||