From 213ff5a4e0fa150d91c1a68fb56bb7cb605020d6 Mon Sep 17 00:00:00 2001 From: Tofu Linden Date: Fri, 26 Feb 2010 19:23:42 +0000 Subject: EXT-5820 I can copy asset UUID from non-FULLPERM assets turning on admin mode. If you're reading this message, this was reviewed by Soft, Nyx or Aura. :) --- indra/newview/llagent.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'indra/newview/llagent.cpp') diff --git a/indra/newview/llagent.cpp b/indra/newview/llagent.cpp index afd9d7b3f9..1da7d450c9 100644 --- a/indra/newview/llagent.cpp +++ b/indra/newview/llagent.cpp @@ -4839,11 +4839,16 @@ void LLAgent::onAnimStop(const LLUUID& id) } } -BOOL LLAgent::isGodlike() const +bool LLAgent::isGodlike() const { return mAgentAccess.isGodlike(); } +bool LLAgent::isGodlikeWithoutAdminMenuFakery() const +{ + return mAgentAccess.isGodlikeWithoutAdminMenuFakery(); +} + U8 LLAgent::getGodLevel() const { return mAgentAccess.getGodLevel(); -- cgit v1.2.3