1
0

Merge pull request #2450 from nicodinh/patch-1

Fixed false-positive error message in cRankManager::SetRankVisuals().
This commit is contained in:
Mattes D 2015-08-25 10:04:25 +02:00
commit 69a44b2fee

View File

@ -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());
}