diff --git a/src/public/steam/matchmakingtypes.h b/src/public/steam/matchmakingtypes.h index e471c1af06..09dd8bc7fe 100644 --- a/src/public/steam/matchmakingtypes.h +++ b/src/public/steam/matchmakingtypes.h @@ -223,7 +223,11 @@ inline const char* gameserveritem_t::GetName() const inline void gameserveritem_t::SetName( const char *pName ) { +#ifdef NEO + V_strcpy_safe(m_szServerName, pName); +#else strncpy( m_szServerName, pName, sizeof( m_szServerName ) ); +#endif m_szServerName[ sizeof( m_szServerName ) - 1 ] = '\0'; }