Merge pull request #2450 from nicodinh/patch-1
Fixed false-positive error message in cRankManager::SetRankVisuals().
This commit is contained in:
commit
69a44b2fee
@ -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());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user