diff --git a/indra/newview/llmutelist.cpp b/indra/newview/llmutelist.cpp index 0fd8813c76a78b4f19ca1a18f1d8fa6fffd9565d..dd48469869f5bf3260edc541688cd0eeb11d2b0c 100755 --- a/indra/newview/llmutelist.cpp +++ b/indra/newview/llmutelist.cpp @@ -58,6 +58,7 @@ #include "llnotifications.h" #include "llviewernetwork.h" #include "llviewerobjectlist.h" +#include "llviewerregion.h" #include "lltrans.h" namespace @@ -199,12 +200,12 @@ BOOL LLMuteList::isLinden(const std::string& name) const } else if (LLGridManager::getInstance()->isInOpenSim()) { - /*LLViewerRegion* region = gAgent.getRegion(); + LLViewerRegion* region = gAgent.getRegion(); if (!region) return FALSE; - std::set<std::string>& gods = region->getGods(); + std::set<std::string> gods = region->getGods(); if (gods.empty()) return FALSE; - return (gods.find(name) != gods.end() || gods.find(last_name) != gods.end());*/ + return (gods.find(name) != gods.end() || gods.find(last_name) != gods.end()); } return FALSE; }