summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatersearch.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2009-12-08 16:20:25 -0500
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2009-12-08 16:20:25 -0500
commit45b24808657dddfb2a605186416409b453f149e7 (patch)
tree298c49cfd6fb4f645a3a776a75b9bb64601bf9c3 /indra/newview/llfloatersearch.cpp
parent7ce49586881fd078ea8bceeab558b4a156b30f63 (diff)
parent37848d29d9030e00086c3a499d28237cdf943e1b (diff)
merge
--HG-- branch : avatar-pipeline
Diffstat (limited to 'indra/newview/llfloatersearch.cpp')
-rw-r--r--indra/newview/llfloatersearch.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llfloatersearch.cpp b/indra/newview/llfloatersearch.cpp
index 4d3724a758..2c618263ec 100644
--- a/indra/newview/llfloatersearch.cpp
+++ b/indra/newview/llfloatersearch.cpp
@@ -144,6 +144,10 @@ void LLFloaterSearch::search(const LLSD &key)
// add the current localization information
url += "&lang=" + LLUI::getLanguage();
+ // add the user's god status
+ std::string godlike = gAgent.isGodlike() ? "1" : "0";
+ url += "&g=" + godlike;
+
// and load the URL in the web view
mBrowser->navigateTo(url);
}