Somebody just won the prize for the least working contributed code.

Just made it compile and look like it does something sane, don't have time to test it at the moment.
This commit is contained in:
Siana Gearz
2013-05-27 08:12:39 +02:00
parent 62be5ae913
commit 772f5e0e5d

View File

@@ -40,7 +40,12 @@
// viewer project includes
#include "llagentdata.h"
#include "llcommandhandler.h"
#include "llimview.h"
#include "llfloaterfriends.h"
#include "llfloatermute.h"
#include "llmenucommands.h"
#include "llpanelavatar.h"
#include "llviewermessage.h"
#include "lluictrlfactory.h"
#include "llweb.h"
@@ -97,13 +102,18 @@ public:
bool handle(const LLSD& params, const LLSD& query_map,
LLMediaCtrl* web)
{
if (params.size() < 2) return false;
if (params.size() < 2)
{
return false;
}
LLUUID agent_id;
if (!agent_id.set(params[0], FALSE))
{
return false;
}
const std::string verb = params[1].asString();
if (verb == "about")
{
LLFloaterAvatarInfo::show(agent_id);
return true;
@@ -141,7 +151,6 @@ public:
return true;
}
return false;
}
};