summaryrefslogtreecommitdiff
path: root/indra/llmessage
diff options
context:
space:
mode:
authorandreykproductengine <andreykproductengine@lindenlab.com>2018-01-22 20:37:58 +0200
committerandreykproductengine <andreykproductengine@lindenlab.com>2018-01-22 20:37:58 +0200
commite6f5aa7f61891395eaf0f376dca88c1d1a951d1b (patch)
tree1b173646bc33d4838024725a468f7e0c9937321f /indra/llmessage
parent750d90cf592d22b9c717fa138f17b2c1e32dd1c7 (diff)
MAINT-8210 Fixed crash in avatar name cache
Diffstat (limited to 'indra/llmessage')
-rw-r--r--indra/llmessage/llavatarnamecache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llmessage/llavatarnamecache.cpp b/indra/llmessage/llavatarnamecache.cpp
index 5a112b5432..abe0e46e5d 100644
--- a/indra/llmessage/llavatarnamecache.cpp
+++ b/indra/llmessage/llavatarnamecache.cpp
@@ -769,7 +769,7 @@ LLUUID LLAvatarNameCache::findIdByName(const std::string& name)
// Legacy method
LLUUID id;
- if (gCacheName->getUUID(name, id))
+ if (gCacheName && gCacheName->getUUID(name, id))
{
return id;
}