summaryrefslogtreecommitdiffstats
path: root/src/CompositeChat.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/CompositeChat.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/CompositeChat.h b/src/CompositeChat.h
index d5f4ebb24..0f56cde9b 100644
--- a/src/CompositeChat.h
+++ b/src/CompositeChat.h
@@ -164,6 +164,11 @@ public:
/** Returns the message type set previously by SetMessageType(). */
eMessageType GetMessageType(void) const { return m_MessageType; }
+ /** Returns the text from the parts that comprises the human-readable data.
+ Used for older protocols that don't support composite chat
+ and for console-logging. */
+ AString ExtractText(void) const;
+
// tolua_end
const cParts & GetParts(void) const { return m_Parts; }