summaryrefslogtreecommitdiff
path: root/indra/newview/llstartup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llstartup.cpp')
-rw-r--r--indra/newview/llstartup.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/newview/llstartup.cpp b/indra/newview/llstartup.cpp
index c8c39ae00f..73e8d3cf5f 100644
--- a/indra/newview/llstartup.cpp
+++ b/indra/newview/llstartup.cpp
@@ -88,6 +88,7 @@
#include "v3math.h"
#include "llagent.h"
+#include "llagentbenefits.h"
#include "llagentcamera.h"
#include "llagentpicksinfo.h"
#include "llagentwearables.h"
@@ -3258,6 +3259,12 @@ bool process_login_success_response()
{
LLSD response = LLLoginInstance::getInstance()->getResponse();
+ //LL_INFOS() << "login success response:" << ll_pretty_print_sd(response) << LL_ENDL;
+ if (!LLAgentBenefits::instance().init(response["account_level_benefits"]))
+ {
+ LL_ERRS() << "Benefits error" << LL_ENDL;
+ }
+
std::string text(response["udp_blacklist"]);
if(!text.empty())
{