Missing lines responsible for core version in DB added.

--HG--
branch : trunk
This commit is contained in:
panaut0lordv
2009-03-25 15:52:28 +01:00
parent aad61f777c
commit 84a719f9bc

View File

@@ -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());