diff options
author | Tess Chu <tess@lindenlab.com> | 2007-11-20 02:53:43 +0000 |
---|---|---|
committer | Tess Chu <tess@lindenlab.com> | 2007-11-20 02:53:43 +0000 |
commit | 2f6c7606241acdf800a2c079b359e7a1db360954 (patch) | |
tree | adb6e6e34f9c3df1e2252b2f763ae20970c0e2d4 /indra/newview/llfloaterevent.cpp | |
parent | 813b140d0767146b17acf4ad2fb96fbd5a347c34 (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.cpp | 6 |
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; |