Update Security

This commit is contained in:
SuperSonic 2019-08-27 07:29:51 +08:00
parent 6ee25d36a6
commit 0096aaf90e

View file

@ -509,6 +509,8 @@ class Yuuki:
Kicker = self.kickSomeone(GroupID, Action, Another)
# Log
self.data.updateLog("KickEvent", (self.data.getTime(), GroupInfo.name, GroupID, Kicker, Action, Another, ncMessage.type*10+2))
GroupTicket = self.getClientByMid(Kicker).reissueGroupTicket(GroupID)
self.getClientByMid(Another).acceptGroupInvitationByTicket(self.Seq, GroupID, GroupTicket)
except:
# Log
self.data.updateLog("KickEvent", (self.data.getTime(), GroupInfo.name, GroupID, Kicker, Action, Another, ncMessage.type*10+3))