diff options
author | Jacek Antonelli | 2008-08-15 23:45:19 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:19 -0500 |
commit | b235c59d60472f818a9142c0886b95a0ff4191d7 (patch) | |
tree | d323c55587584b19cc43a03f58a178823f12d3cd /linden/indra/newview/llfloaterevent.cpp | |
parent | Second Life viewer sources 1.18.5.3 (diff) | |
download | meta-impy-b235c59d60472f818a9142c0886b95a0ff4191d7.zip meta-impy-b235c59d60472f818a9142c0886b95a0ff4191d7.tar.gz meta-impy-b235c59d60472f818a9142c0886b95a0ff4191d7.tar.bz2 meta-impy-b235c59d60472f818a9142c0886b95a0ff4191d7.tar.xz |
Second Life viewer sources 1.18.6.0-RC
Diffstat (limited to 'linden/indra/newview/llfloaterevent.cpp')
-rw-r--r-- | linden/indra/newview/llfloaterevent.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/newview/llfloaterevent.cpp b/linden/indra/newview/llfloaterevent.cpp index d237fc9..9ef18cd 100644 --- a/linden/indra/newview/llfloaterevent.cpp +++ b/linden/indra/newview/llfloaterevent.cpp | |||
@@ -47,14 +47,14 @@ class LLEventHandler : public LLCommandHandler | |||
47 | { | 47 | { |
48 | public: | 48 | public: |
49 | LLEventHandler() : LLCommandHandler("event") { } | 49 | LLEventHandler() : LLCommandHandler("event") { } |
50 | bool handle(const std::vector<std::string>& tokens) | 50 | bool handle(const LLSD& tokens, const LLSD& queryMap) |
51 | { | 51 | { |
52 | if (tokens.size() < 2) | 52 | if (tokens.size() < 2) |
53 | { | 53 | { |
54 | return false; | 54 | return false; |
55 | } | 55 | } |
56 | U32 event_id = atoi(tokens[0].c_str()); | 56 | U32 event_id = tokens[0].asInteger(); |
57 | if (tokens[1] == "about") | 57 | if (tokens[1].asString() == "about") |
58 | { | 58 | { |
59 | LLFloaterEventInfo::show(event_id); | 59 | LLFloaterEventInfo::show(event_id); |
60 | return true; | 60 | return true; |