fix previous commit

This commit is contained in:
nillerusr
2021-10-05 00:51:01 +03:00
parent 61302b61e7
commit 2f12021cce
4 changed files with 6 additions and 17 deletions

View File

@@ -211,7 +211,7 @@ bool CCustomGames::CheckTagFilter( gameserveritem_t &server )
V_SplitString( m_szTagFilter, ",", TagList );
for ( int i = 0; i < TagList.Count(); i++ )
{
if ( ( Q_strnistr( server.m_szGameTags, TagList[i], MAX_TAG_CHARACTERS ) > (const char*)0 ) == TagsExclude() )
if ( ( Q_strnistr( server.m_szGameTags, TagList[i], MAX_TAG_CHARACTERS ) ) == TagsExclude() )
{
bRetVal = false;
break;