summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorLeyla Farazha <leyla@lindenlab.com>2010-08-05 16:30:32 -0700
committerLeyla Farazha <leyla@lindenlab.com>2010-08-05 16:30:32 -0700
commit10b664833afc246ea1f94a59e965e0de106f37cb (patch)
treebd1811670d39b652c6eff9c84908abf3fcf5972c /indra
parente5fc80b43f1de7431d088dbe1dbd8d4518b11176 (diff)
adding DisplayNamesEnabled and DisplayNamesShowUsername to the top level of our viewer stats
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llviewerstats.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llviewerstats.cpp b/indra/newview/llviewerstats.cpp
index a706e77f19..aaf9aede92 100644
--- a/indra/newview/llviewerstats.cpp
+++ b/indra/newview/llviewerstats.cpp
@@ -853,6 +853,9 @@ void send_stats()
llinfos << "Misc Stats: int_1: " << misc["int_1"] << " int_2: " << misc["int_2"] << llendl;
llinfos << "Misc Stats: string_1: " << misc["string_1"] << " string_2: " << misc["string_2"] << llendl;
+
+ body["DisplayNamesEnabled"] = gSavedSettings.getBOOL("UseDisplayNames");
+ body["DisplayNamesShowUsername"] = gSavedSettings.getBOOL("NameTagShowUsernames");
LLViewerStats::getInstance()->addToMessage(body);
LLHTTPClient::post(url, body, new ViewerStatsResponder());