if(!(requestor.getRequest().getRequestPacket() instanceof RequestJoinAlly))
return; // hax
L2Clan clan = requestor.getClan();
// we must double check this cause of hack
if(clan.checkAllyJoinCondition(requestor, activeChar))
{
//TODO: Need correct message id
requestor.sendPacket(new SystemMessage(SystemMessageId.YOU_HAVE_SUCCEEDED_INVITING_FRIEND));
activeChar.sendPacket(new SystemMessage(SystemMessageId.YOU_ACCEPTED_ALLIANCE));
activeChar.getClan().setAllyId(clan.getAllyId());