From 0096aaf90e13b2a93237f1fe4a236a953139f1bc Mon Sep 17 00:00:00 2001 From: SuperSonic Date: Tue, 27 Aug 2019 07:29:51 +0800 Subject: [PATCH] Update Security --- libs/yuuki.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/yuuki.py b/libs/yuuki.py index f238780..4cea96d 100644 --- a/libs/yuuki.py +++ b/libs/yuuki.py @@ -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))