aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloateravatarinfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llfloateravatarinfo.cpp')
-rw-r--r--linden/indra/newview/llfloateravatarinfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/newview/llfloateravatarinfo.cpp b/linden/indra/newview/llfloateravatarinfo.cpp
index 58fe1ab..a7deb6d 100644
--- a/linden/indra/newview/llfloateravatarinfo.cpp
+++ b/linden/indra/newview/llfloateravatarinfo.cpp
@@ -80,7 +80,7 @@ class LLAgentHandler : public LLCommandHandler
80{ 80{
81public: 81public:
82 LLAgentHandler() : LLCommandHandler("agent") { } 82 LLAgentHandler() : LLCommandHandler("agent") { }
83 bool handle(const std::vector<std::string>& params) 83 bool handle(const LLSD& params, const LLSD& queryMap)
84 { 84 {
85 if (params.size() < 2) return false; 85 if (params.size() < 2) return false;
86 LLUUID agent_id; 86 LLUUID agent_id;
@@ -89,7 +89,7 @@ public:
89 return false; 89 return false;
90 } 90 }
91 91
92 if (params[1] == "about") 92 if (params[1].asString() == "about")
93 { 93 {
94 LLFloaterAvatarInfo::show(agent_id); 94 LLFloaterAvatarInfo::show(agent_id);
95 return true; 95 return true;