summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-07-30 17:09:41 +0200
committermadmaxoft <github@xoft.cz>2014-07-30 17:09:41 +0200
commit0336e12cee0a784b076b5f9423bce2b9f803d1c8 (patch)
tree5b06bbb7aa745da1dc8551199c0d93b5264b6939 /src
parentAPIDump: Added notes about cache to cMojangAPI. (diff)
downloadcuberite-0336e12cee0a784b076b5f9423bce2b9f803d1c8.tar
cuberite-0336e12cee0a784b076b5f9423bce2b9f803d1c8.tar.gz
cuberite-0336e12cee0a784b076b5f9423bce2b9f803d1c8.tar.bz2
cuberite-0336e12cee0a784b076b5f9423bce2b9f803d1c8.tar.lz
cuberite-0336e12cee0a784b076b5f9423bce2b9f803d1c8.tar.xz
cuberite-0336e12cee0a784b076b5f9423bce2b9f803d1c8.tar.zst
cuberite-0336e12cee0a784b076b5f9423bce2b9f803d1c8.zip
Diffstat (limited to 'src')
-rw-r--r--src/Protocol/MojangAPI.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Protocol/MojangAPI.cpp b/src/Protocol/MojangAPI.cpp
index 86ff134db..5fbc5b476 100644
--- a/src/Protocol/MojangAPI.cpp
+++ b/src/Protocol/MojangAPI.cpp
@@ -304,7 +304,7 @@ void cMojangAPI::LoadCachesFromDisk(void)
try
{
// 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)");
// Clean up old entries:
@@ -341,7 +341,7 @@ void cMojangAPI::SaveCachesToDisk(void)
try
{
// 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)");
// Remove all entries: