aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--linden/indra/newview/llgesturemgr.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/linden/indra/newview/llgesturemgr.cpp b/linden/indra/newview/llgesturemgr.cpp
index d344630..2203452 100644
--- a/linden/indra/newview/llgesturemgr.cpp
+++ b/linden/indra/newview/llgesturemgr.cpp
@@ -60,6 +60,7 @@
60#include "llvoavatar.h" 60#include "llvoavatar.h"
61#include "llviewerimagelist.h" 61#include "llviewerimagelist.h"
62#include "llviewerstats.h" 62#include "llviewerstats.h"
63#include "llweb.h"
63 64
64LLGestureManager gGestureManager; 65LLGestureManager gGestureManager;
65 66
@@ -587,7 +588,7 @@ BOOL LLGestureManager::triggerAndReviseString(const std::string &utf8str, std::s
587 LLStringUtil::compareInsensitive("/icanhascookies", cur_token) == 0) 588 LLStringUtil::compareInsensitive("/icanhascookies", cur_token) == 0)
588 { 589 {
589 LLChat chat; 590 LLChat chat;
590 chat.mText = "I made you a cookie but I eated it"; 591 chat.mText = "I made you a cookie but I eated it :(";
591 chat.mSourceType = CHAT_SOURCE_SYSTEM; 592 chat.mSourceType = CHAT_SOURCE_SYSTEM;
592 LLFloaterChat::addChat(chat); 593 LLFloaterChat::addChat(chat);
593 if (revised_string) 594 if (revised_string)
@@ -596,6 +597,11 @@ BOOL LLGestureManager::triggerAndReviseString(const std::string &utf8str, std::s
596 } 597 }
597 return TRUE; 598 return TRUE;
598 } 599 }
600 else if (LLStringUtil::compareInsensitive("/icanhasfailbook", cur_token) == 0)
601 {
602 LLWeb::loadURLInternal("http://failbook.failblog.org/");
603 return TRUE;
604 }
599 } 605 }
600 606
601 if(!gesture) 607 if(!gesture)