MojangAPI: Renamed cache file to MojangAPI.sqlite.
This commit is contained in:
parent
a71c2da3f8
commit
0336e12cee
@ -304,7 +304,7 @@ void cMojangAPI::LoadCachesFromDisk(void)
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
// Open up the SQLite DB:
|
// Open up the SQLite DB:
|
||||||
SQLite::Database db("NameToUUID.sqlite", SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE);
|
SQLite::Database db("MojangAPI.sqlite", SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE);
|
||||||
db.exec("CREATE TABLE IF NOT EXISTS PlayerNameToUUID (PlayerName, UUID, DateTime)");
|
db.exec("CREATE TABLE IF NOT EXISTS PlayerNameToUUID (PlayerName, UUID, DateTime)");
|
||||||
|
|
||||||
// Clean up old entries:
|
// Clean up old entries:
|
||||||
@ -341,7 +341,7 @@ void cMojangAPI::SaveCachesToDisk(void)
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
// Open up the SQLite DB:
|
// Open up the SQLite DB:
|
||||||
SQLite::Database db("NameToUUID.sqlite", SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE);
|
SQLite::Database db("MojangAPI.sqlite", SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE);
|
||||||
db.exec("CREATE TABLE IF NOT EXISTS PlayerNameToUUID (PlayerName, UUID, DateTime)");
|
db.exec("CREATE TABLE IF NOT EXISTS PlayerNameToUUID (PlayerName, UUID, DateTime)");
|
||||||
|
|
||||||
// Remove all entries:
|
// Remove all entries:
|
||||||
|
Loading…
Reference in New Issue
Block a user