summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/treesocket.h
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-07-27 18:37:39 +0200
committerAttila Molnar <attilamolnar@hush.com>2014-07-27 18:37:39 +0200
commitfe609b6bd81b6c16a9263aee586ce6824a994301 (patch)
treed577cb44becc360fdad150ca5fb43798b925aede /src/modules/m_spanningtree/treesocket.h
parenta3f0ce79d0b9674bfc0c3359f8c87e528ce74fed (diff)
m_spanningtree Add TreeSocket::WriteLineNoCompat() to send a line without doing any translation for old protocol servers
Diffstat (limited to 'src/modules/m_spanningtree/treesocket.h')
-rw-r--r--src/modules/m_spanningtree/treesocket.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree/treesocket.h b/src/modules/m_spanningtree/treesocket.h
index bee8b3069..2a47da39b 100644
--- a/src/modules/m_spanningtree/treesocket.h
+++ b/src/modules/m_spanningtree/treesocket.h
@@ -148,6 +148,11 @@ class TreeSocket : public BufferedSocket
*/
Link* AuthRemote(const parameterlist& params);
+ /** Write a line on this socket with a new line character appended, skipping all translation for old protocols
+ * @param line Line to write without a new line character at the end
+ */
+ void WriteLineNoCompat(const std::string& line);
+
public:
const time_t age;