Fix crash in LLImProcessing when message comes in before region is fully init (#2604)

secondlife/viewer#2603
master
Brad Linden 2024-09-18 14:53:36 -07:00 committed by GitHub
parent 1dcbae822d
commit 9fa95dd0b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -488,7 +488,7 @@ void LLIMProcessing::processNewMessage(LLUUID from_id,
case IM_NOTHING_SPECIAL: // p2p IM
// Don't show dialog, just do IM
if (!gAgent.isGodlike()
&& gAgent.getRegion()->isPrelude()
&& gAgent.inPrelude()
&& to_id.isNull())
{
// do nothing -- don't distract newbies in