summaryrefslogtreecommitdiff
path: root/indra/llmessage/llmessagetemplate.h
diff options
context:
space:
mode:
authorMark Palange <palange@lindenlab.com>2008-10-07 22:43:15 +0000
committerMark Palange <palange@lindenlab.com>2008-10-07 22:43:15 +0000
commitc9be97fdfcc6a4c6b23a8c90916af54a38d60ab0 (patch)
treeb0a7c83b643aff7a50208c3acd5caa4a9df1bbe2 /indra/llmessage/llmessagetemplate.h
parent9d7c56bf16f6c093c7b8d486f943e8d6df4d6a24 (diff)
merge r97380-98701 branches/viewer/viewer_1-21 (Viewer RC5 and security fixes) merge to trunk
Diffstat (limited to 'indra/llmessage/llmessagetemplate.h')
-rw-r--r--indra/llmessage/llmessagetemplate.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/indra/llmessage/llmessagetemplate.h b/indra/llmessage/llmessagetemplate.h
index 82421b1f5a..db8252270a 100644
--- a/indra/llmessage/llmessagetemplate.h
+++ b/indra/llmessage/llmessagetemplate.h
@@ -300,7 +300,7 @@ public:
~LLMessageTemplate()
{
for_each(mMemberBlocks.begin(), mMemberBlocks.end(), DeletePointer());
-}
+ }
void addBlock(LLMessageBlock *blockp)
{
@@ -388,6 +388,11 @@ public:
return trustedSource ? mBanFromTrusted : mBanFromUntrusted;
}
+ bool isUdpBanned() const
+ {
+ return mDeprecation == MD_UDPBLACKLISTED;
+ }
+
friend std::ostream& operator<<(std::ostream& s, LLMessageTemplate &msg);
const LLMessageBlock* getBlock(char* name) const