summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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());
}