if(clan.isAcademy(activeChar.getPledgeType()))
{
activeChar.setLvlJoinedAcademy(activeChar.getLevel());
}
clan.getClanMember(activeChar.getName()).setPowerGrade(clan.getAffiliationRank(activeChar.getPledgeType()));
clan.broadcastToOtherOnlineMembers(new PledgeShowMemberListAdd(clan.getClanMember(activeChar.getName())), activeChar);
clan.broadcastToOnlineMembers(new SystemMessage(SystemMessage.S1_HAS_JOINED_THE_CLAN).addString(activeChar.getName()), new PledgeShowInfoUpdate(clan));
// this activates the clan tab on the new member
activeChar.sendPacket(Msg.ENTERED_THE_CLAN, new PledgeShowMemberListAll(clan, activeChar));
activeChar.setLeaveClanTime(0);
activeChar.updatePledgeClass();