diff options
Diffstat (limited to 'linden/indra/newview/llnotify.cpp')
-rw-r--r-- | linden/indra/newview/llnotify.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/linden/indra/newview/llnotify.cpp b/linden/indra/newview/llnotify.cpp index 9e837a6..5590ab1 100644 --- a/linden/indra/newview/llnotify.cpp +++ b/linden/indra/newview/llnotify.cpp | |||
@@ -54,6 +54,10 @@ | |||
54 | #include "lloverlaybar.h" // for gOverlayBar | 54 | #include "lloverlaybar.h" // for gOverlayBar |
55 | #include "lluictrlfactory.h" | 55 | #include "lluictrlfactory.h" |
56 | 56 | ||
57 | // [RLVa:KB] - Version: 1.22.11 | Checked: 2009-07-10 (RLVa-1.0.0e) | Added: RLVa-0.2.0b | ||
58 | #include "rlvhandler.h" | ||
59 | // [/RLVa:KB] | ||
60 | |||
57 | // Globals | 61 | // Globals |
58 | LLNotifyBoxView* gNotifyBoxView = NULL; | 62 | LLNotifyBoxView* gNotifyBoxView = NULL; |
59 | 63 | ||
@@ -328,6 +332,13 @@ LLNotifyBox::LLNotifyBox(LLPointer<LLNotifyBoxTemplate> xml_template, const LLSt | |||
328 | // TODO: Make a separate archive for these. | 332 | // TODO: Make a separate archive for these. |
329 | LLChat chat(mMessage); | 333 | LLChat chat(mMessage); |
330 | chat.mSourceType = CHAT_SOURCE_SYSTEM; | 334 | chat.mSourceType = CHAT_SOURCE_SYSTEM; |
335 | // [RLVa:KB] - Checked: 2009-07-10 (RLVa-1.0.0e) | Added: RLVa-0.2.0b | ||
336 | if (rlv_handler_t::isEnabled()) | ||
337 | { | ||
338 | // Notices should already have their contents filtered where necessary | ||
339 | chat.mRlvLocFiltered = chat.mRlvNamesFiltered = TRUE; | ||
340 | } | ||
341 | // [/RLVa:KB] | ||
331 | LLFloaterChat::getInstance(LLSD())->addChatHistory(chat); | 342 | LLFloaterChat::getInstance(LLSD())->addChatHistory(chat); |
332 | } | 343 | } |
333 | else | 344 | else |