Replace hardcoded 0 with KickFlags provided by the client.

This finally completes http://opensimulator.org/mantis/view.php?id=4356 where this change had been accidentally removed.  Thanks Revolution.
prebuild-update
Justin Clark-Casey (justincc) 2010-08-28 02:45:28 +01:00
parent 83fbf66444
commit 374807d194
1 changed files with 1 additions and 1 deletions

View File

@ -8977,7 +8977,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
if (handlerGodKickUser != null) if (handlerGodKickUser != null)
{ {
handlerGodKickUser(gkupack.UserInfo.GodID, gkupack.UserInfo.GodSessionID, handlerGodKickUser(gkupack.UserInfo.GodID, gkupack.UserInfo.GodSessionID,
gkupack.UserInfo.AgentID, (uint)0, gkupack.UserInfo.Reason); gkupack.UserInfo.AgentID, gkupack.UserInfo.KickFlags, gkupack.UserInfo.Reason);
} }
} }
else else