summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-08-25 10:04:25 +0200
committerMattes D <github@xoft.cz>2015-08-25 10:04:25 +0200
commit69a44b2feeedf00948bcc4c4f35fb3b6978df90a (patch)
tree06c1125ac4c72530d2f06dd3fe5b0dc62cd2aa61
parentMerge pull request #2449 from theoduino/master (diff)
parentUpdate cRankManager::SetRankVisuals (diff)
downloadcuberite-69a44b2feeedf00948bcc4c4f35fb3b6978df90a.tar
cuberite-69a44b2feeedf00948bcc4c4f35fb3b6978df90a.tar.gz
cuberite-69a44b2feeedf00948bcc4c4f35fb3b6978df90a.tar.bz2
cuberite-69a44b2feeedf00948bcc4c4f35fb3b6978df90a.tar.lz
cuberite-69a44b2feeedf00948bcc4c4f35fb3b6978df90a.tar.xz
cuberite-69a44b2feeedf00948bcc4c4f35fb3b6978df90a.tar.zst
cuberite-69a44b2feeedf00948bcc4c4f35fb3b6978df90a.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());
}