Skip to content

Commit

Permalink
common: disable logging suppression in Info_Print() (used by commands…
Browse files Browse the repository at this point in the history
… like /systeminfo and /serverinfo)
  • Loading branch information
illwieckz committed Jan 8, 2025
1 parent 70d9586 commit 992eb50
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/engine/qcommon/common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,11 @@ void Info_Print( const char *s )
*o = 0;
}

Log::Notice( key );
Log::defaultLogger.WithoutSuppression().Notice( key );

if ( !*s )
{
Log::Notice( "MISSING VALUE" );
Log::defaultLogger.WithoutSuppression().Notice( "MISSING VALUE" );
return;
}

Expand All @@ -147,7 +147,7 @@ void Info_Print( const char *s )
s++;
}

Log::Notice( "%s", value );
Log::defaultLogger.WithoutSuppression().Notice( value );
}
}

Expand Down

0 comments on commit 992eb50

Please sign in to comment.