diff options
author | panaut0lordv <panaut0lordv@gmail.com> | 2009-03-25 15:52:28 +0100 |
---|---|---|
committer | panaut0lordv <panaut0lordv@gmail.com> | 2009-03-25 15:52:28 +0100 |
commit | 84a719f9bcff83bf413ea1bbabcfe790c8d76b30 (patch) | |
tree | f23e3b6787529e2a531ffd47c1dc72c6bf37de7a /src/trinitycore | |
parent | aad61f777c5f15d77565852f27cec35d732dc655 (diff) |
Missing lines responsible for core version in DB added.
--HG--
branch : trunk
Diffstat (limited to 'src/trinitycore')
-rw-r--r-- | src/trinitycore/Master.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/trinitycore/Master.cpp b/src/trinitycore/Master.cpp index cf1ac0f2c27..7e5cbd381ec 100644 --- a/src/trinitycore/Master.cpp +++ b/src/trinitycore/Master.cpp @@ -470,6 +470,9 @@ bool Master::_StartDB() ///- Clean the database before starting clearOnlineAccounts(); + ///- Insert version info into DB + WorldDatabase.PExecute("UPDATE `version` SET `core_version` = '%s', `core_revision` = '%s'", _FULLVERSION, _REVISION); + sWorld.LoadDBVersion(); sLog.outString("Using %s", sWorld.GetDBVersion()); |