summaryrefslogtreecommitdiff
path: root/indra/newview/llagent.cpp
diff options
context:
space:
mode:
authorLeyla Farazha <leyla@lindenlab.com>2010-02-12 12:05:51 -0800
committerLeyla Farazha <leyla@lindenlab.com>2010-02-12 12:05:51 -0800
commit426aca61d3c00d57d7066fb1ca5a7be8d138542e (patch)
tree8ab65d462f97bbd3ab5104c8b4d3ea497866e77a /indra/newview/llagent.cpp
parentc61cb61ecc6beca1560a93cdad4ed1bc055c57f9 (diff)
parent01d462482189abe18a52c293315ab536287b599a (diff)
Merge
Diffstat (limited to 'indra/newview/llagent.cpp')
-rw-r--r--indra/newview/llagent.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llagent.cpp b/indra/newview/llagent.cpp
index 59f61dfdfb..3675be16e9 100644
--- a/indra/newview/llagent.cpp
+++ b/indra/newview/llagent.cpp
@@ -5027,9 +5027,9 @@ void LLAgent::buildFullnameAndTitle(std::string& name) const
}
}
-BOOL LLAgent::isInGroup(const LLUUID& group_id) const
+BOOL LLAgent::isInGroup(const LLUUID& group_id, BOOL ignore_god_mode /* FALSE */) const
{
- if (isGodlike())
+ if (!ignore_god_mode && isGodlike())
return true;
S32 count = mGroups.count();