summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2009-12-08 08:57:02 +0000
committerTofu Linden <tofu.linden@lindenlab.com>2009-12-08 08:57:02 +0000
commite07ef0d0e0e8cbd58afd4c6ee970634bd2f783e7 (patch)
tree5c47dfd57cd6012830fdd0003300ae411ec28355
parent432bf69ad6217abfda330cb648ae45dfc5cb1e66 (diff)
parent0c607a6b88eef34987fdbd79843b693548f4adec (diff)
merge.
-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);
}