summaryrefslogtreecommitdiff
path: root/indra/llmessage/llavatarnamecache.cpp
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
commitaf8984348ea2b94c8080726ec82ba02b1adf1fac (patch)
tree19164d58169e2278701c409bc0d0bb5a70dbe36f /indra/llmessage/llavatarnamecache.cpp
parent460c28b45631c6282200628d0725672ce5679490 (diff)
MAINT-8210 Fixed crash in avatar name cache
Diffstat (limited to 'indra/llmessage/llavatarnamecache.cpp')
-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;
}