summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAZARI Nicolas <nicodinh@azari.fr>2015-08-24 14:31:58 +0200
committernico <nico@debian>2015-08-25 09:15:54 +0200
commitf0fcd022a6c539696214459d5a3dd69d8b090634 (patch)
tree75a3c8a30dde29ef7d51728e990b64d35a3a8f7e
parentMerge pull request #2441 from mjhanninen/fix-osx-build-due-cc-flag (diff)
downloadcuberite-f0fcd022a6c539696214459d5a3dd69d8b090634.tar
cuberite-f0fcd022a6c539696214459d5a3dd69d8b090634.tar.gz
cuberite-f0fcd022a6c539696214459d5a3dd69d8b090634.tar.bz2
cuberite-f0fcd022a6c539696214459d5a3dd69d8b090634.tar.lz
cuberite-f0fcd022a6c539696214459d5a3dd69d8b090634.tar.xz
cuberite-f0fcd022a6c539696214459d5a3dd69d8b090634.tar.zst
cuberite-f0fcd022a6c539696214459d5a3dd69d8b090634.zip
-rw-r--r--src/RankManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/RankManager.cpp b/src/RankManager.cpp
index ee39026ea..e6cd2d665 100644
--- a/src/RankManager.cpp
+++ b/src/RankManager.cpp
@@ -1846,7 +1846,7 @@ void cRankManager::SetRankVisuals(
stmt.bind(2, a_MsgSuffix);
stmt.bind(3, a_MsgNameColorCode);
stmt.bind(4, a_RankName);
- if (!stmt.executeStep())
+ if (stmt.exec() < 1)
{
LOGINFO("%s: Rank %s not found, visuals not set.", __FUNCTION__, a_RankName.c_str());
}