diff options
Diffstat (limited to '')
-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; |