aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/trinitycore/Master.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/trinitycore/Master.cpp b/src/trinitycore/Master.cpp
index 76fdbd661de..77dfca02f48 100644
--- a/src/trinitycore/Master.cpp
+++ b/src/trinitycore/Master.cpp
@@ -512,7 +512,7 @@ void Master::clearOnlineAccounts()
CharacterDatabase.Execute("UPDATE characters SET online = 0 WHERE online<>0");
// Battleground instance ids reset at server restart
- CharacterDatabase.Execute("UPDATE characters SET bgid = 0 WHERE bgid<>0");
+ CharacterDatabase.Execute("UPDATE character_battleground_data SET instance_id = 0");
}
/// Handle termination signals