diff --git a/indra/newview/NACLantispam.cpp b/indra/newview/NACLantispam.cpp index 9cee74f82c..5fee4d0621 100644 --- a/indra/newview/NACLantispam.cpp +++ b/indra/newview/NACLantispam.cpp @@ -359,10 +359,13 @@ bool NACLAntiSpamRegistry::checkQueue(EAntispamQueue queue, const LLUUID& source return false; } - LLViewerObject* obj = gObjectList.findObject(source); - if (obj && obj->permYouOwner() && !useAntiSpamMine) + if (sourcetype == ANTISPAM_SOURCE_OBJECT) { - return false; + LLViewerObject* obj = gObjectList.findObject(source); + if (obj && obj->permYouOwner() && !useAntiSpamMine) + { + return false; + } } S32 result = 0;