summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterevent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llfloaterevent.cpp')
-rw-r--r--indra/newview/llfloaterevent.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llfloaterevent.cpp b/indra/newview/llfloaterevent.cpp
index 2b9d011e90..89f738203c 100644
--- a/indra/newview/llfloaterevent.cpp
+++ b/indra/newview/llfloaterevent.cpp
@@ -34,14 +34,14 @@ class LLEventHandler : public LLCommandHandler
{
public:
LLEventHandler() : LLCommandHandler("event") { }
- bool handle(const std::vector<std::string>& tokens)
+ bool handle(const LLSD& tokens, const LLSD& queryMap)
{
if (tokens.size() < 2)
{
return false;
}
- U32 event_id = atoi(tokens[0].c_str());
- if (tokens[1] == "about")
+ U32 event_id = tokens[0].asInteger();
+ if (tokens[1].asString() == "about")
{
LLFloaterEventInfo::show(event_id);
return true;