*Remove rank auras from players who are offline after battle of wintergrasp ends.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-08-21 16:23:21 -05:00
parent 054e4ceceb
commit 305ed233ff

View File

@@ -806,6 +806,9 @@ void OPvPWintergrasp::EndBattle()
REMOVE_RANK_AURAS(*itr);
}
}
// remove auras from players who are not online
CharacterDatabase.PExecute("DELETE FROM character_aura WHERE spell IN (%u,%u,%u)", SPELL_RECRUIT, SPELL_CORPORAL, SPELL_LIEUTENANT);
}
void OPvPWintergrasp::SetData(uint32 id, uint32 value)