summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterevent.cpp
diff options
context:
space:
mode:
authorTess Chu <tess@lindenlab.com>2007-11-15 19:22:19 +0000
committerTess Chu <tess@lindenlab.com>2007-11-15 19:22:19 +0000
commit291d99bc66c4c2b8009ba723a43e2e97d24313f9 (patch)
tree60991ea5744899ac7ac096a4130e43238768db20 /indra/newview/llfloaterevent.cpp
parent138bf17c3c51cbf3826a05887d73c49908025f95 (diff)
svn merge -r73220:73877 svn+ssh://svn/svn/linden/branches/viewer-auth-6
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;