summaryrefslogtreecommitdiffstats
path: root/src/RankManager.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-09-29 21:38:11 +0200
committermadmaxoft <github@xoft.cz>2014-09-29 21:38:11 +0200
commitaae90c2cf0d670ab4be05c0e7f09b00523b3b823 (patch)
treef38dfd7b2bc35e92cf789656e717b17213c4afb7 /src/RankManager.cpp
parentWorld: Fixed chunk generation by plugins. (diff)
downloadcuberite-aae90c2cf0d670ab4be05c0e7f09b00523b3b823.tar
cuberite-aae90c2cf0d670ab4be05c0e7f09b00523b3b823.tar.gz
cuberite-aae90c2cf0d670ab4be05c0e7f09b00523b3b823.tar.bz2
cuberite-aae90c2cf0d670ab4be05c0e7f09b00523b3b823.tar.lz
cuberite-aae90c2cf0d670ab4be05c0e7f09b00523b3b823.tar.xz
cuberite-aae90c2cf0d670ab4be05c0e7f09b00523b3b823.tar.zst
cuberite-aae90c2cf0d670ab4be05c0e7f09b00523b3b823.zip
Diffstat (limited to 'src/RankManager.cpp')
-rw-r--r--src/RankManager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/RankManager.cpp b/src/RankManager.cpp
index c9b428e3b..4abe8d1e1 100644
--- a/src/RankManager.cpp
+++ b/src/RankManager.cpp
@@ -1822,7 +1822,8 @@ void cRankManager::ClearPlayerRanks(void)
ASSERT(m_IsInitialized);
cCSLock Lock(m_CS);
- try {
+ try
+ {
SQLite::Statement stmt(m_DB, "DELETE FROM PlayerRank");
stmt.exec();
}