aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game/Wintergrasp.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/Wintergrasp.cpp b/src/game/Wintergrasp.cpp
index 161018d1b77..299615b43a6 100644
--- a/src/game/Wintergrasp.cpp
+++ b/src/game/Wintergrasp.cpp
@@ -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)