summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterevent.cpp
diff options
context:
space:
mode:
authorTess Chu <tess@lindenlab.com>2007-11-20 02:53:43 +0000
committerTess Chu <tess@lindenlab.com>2007-11-20 02:53:43 +0000
commit2f6c7606241acdf800a2c079b359e7a1db360954 (patch)
treeadb6e6e34f9c3df1e2252b2f763ae20970c0e2d4 /indra/newview/llfloaterevent.cpp
parent813b140d0767146b17acf4ad2fb96fbd5a347c34 (diff)
svn merge -r 73926:74098 svn+ssh://svn/svn/linden/branches/viewer-auth-7
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;