From b235c59d60472f818a9142c0886b95a0ff4191d7 Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Fri, 15 Aug 2008 23:45:19 -0500 Subject: Second Life viewer sources 1.18.6.0-RC --- linden/indra/newview/llfloaterevent.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'linden/indra/newview/llfloaterevent.cpp') 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 { public: LLEventHandler() : LLCommandHandler("event") { } - bool handle(const std::vector& 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; -- cgit v1.1