diff options
author | Mark Palange <palange@lindenlab.com> | 2008-10-07 22:43:15 +0000 |
---|---|---|
committer | Mark Palange <palange@lindenlab.com> | 2008-10-07 22:43:15 +0000 |
commit | c9be97fdfcc6a4c6b23a8c90916af54a38d60ab0 (patch) | |
tree | b0a7c83b643aff7a50208c3acd5caa4a9df1bbe2 /indra/llmessage/llmessagetemplate.h | |
parent | 9d7c56bf16f6c093c7b8d486f943e8d6df4d6a24 (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.h | 7 |
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 |