Clan ownerClan = getResidence().getOwner();
if (ownerClan != null)
{
if (_oldOwner != ownerClan)
{
ownerClan.broadcastToOnlineMembers(PlaySound.SIEGE_VICTORY);
ownerClan.incReputation(1700, false, toString());
broadcastTo(new SystemMessage2(SystemMsg.S1_IS_VICTORIOUS_IN_THE_FORTRESS_BATTLE_OF_S2).addString(ownerClan.getName()).addResidenceName(getResidence()), ATTACKERS, DEFENDERS);
getResidence().getOwnDate().setTimeInMillis(System.currentTimeMillis());
getResidence().startCycleTask();
spawnEnvoy();