Add CChan::SendBuffer(client, buffer) overload

This allows interested parties eg. modules to to send a partial
buffer playback without reinventing the wheel.
This commit is contained in:
J-P Nurmi
2014-03-04 08:27:10 +01:00
parent a8e7b908c0
commit 2b0c47aa8e
2 changed files with 8 additions and 3 deletions
+1
View File
@@ -96,6 +96,7 @@ public:
size_t AddBuffer(const CString& sFormat, const CString& sText = "", const timeval* ts = NULL) { return m_Buffer.AddLine(sFormat, sText, ts); }
void ClearBuffer() { m_Buffer.Clear(); }
void SendBuffer(CClient* pClient);
void SendBuffer(CClient* pClient, const CBuffer& Buffer);
// !Buffer
// m_Nick wrappers