summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorBrad Linden <46733234+brad-linden@users.noreply.github.com>2024-09-18 14:53:36 -0700
committerGitHub <noreply@github.com>2024-09-18 14:53:36 -0700
commit9fa95dd0b21f323b7d8f60a826bcc128ad4e7ef2 (patch)
tree186f550b9e18bcf9d78cf0b92f2c82a3c73f80cc /indra
parent1dcbae822d4b3dfae43e8d6c6a512773e83b588d (diff)
Fix crash in LLImProcessing when message comes in before region is fully init (#2604)
secondlife/viewer#2603
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llimprocessing.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llimprocessing.cpp b/indra/newview/llimprocessing.cpp
index c1e68e0288..590cd09a31 100644
--- a/indra/newview/llimprocessing.cpp
+++ b/indra/newview/llimprocessing.cpp
@@ -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