QTfrontend/net/tcpBase.cpp
changeset 15915 35d26863a88e
parent 15279 1ce9b717bb41
--- a/QTfrontend/net/tcpBase.cpp	Sun Oct 30 18:29:29 2022 +0200
+++ b/QTfrontend/net/tcpBase.cpp	Mon Oct 31 02:11:37 2022 +0200
@@ -344,6 +344,12 @@
     }
 }
 
+void TCPBase::RawSendToDemoOnly(const QByteArray & buf)
+{
+    if (!buf.isEmpty() && m_isDemoMode)
+        demo.append(buf);
+}
+
 bool TCPBase::couldBeRemoved()
 {
     return false;