From b49846ebb97c4e192cafe056554fb3efdd51d4de Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Wed, 20 May 2020 02:09:14 +0100 Subject: Rip out compatibility code for the 2.0 protocol. --- src/modules/m_spanningtree/treesocket.h | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src/modules/m_spanningtree/treesocket.h') diff --git a/src/modules/m_spanningtree/treesocket.h b/src/modules/m_spanningtree/treesocket.h index a01d00e84..7214123e4 100644 --- a/src/modules/m_spanningtree/treesocket.h +++ b/src/modules/m_spanningtree/treesocket.h @@ -107,12 +107,6 @@ class TreeSocket : public BufferedSocket /* Remote protocol version */ unsigned int proto_version = 0; - /** True if we've sent our burst. - * This only changes the behavior of message translation for 1202 protocol servers and it can be - * removed once 1202 support is dropped. - */ - bool burstsent = false; - /** Checks if the given servername and sid are both free */ bool CheckDuplicate(const std::string& servername, const std::string& sid); @@ -161,11 +155,6 @@ class TreeSocket : public BufferedSocket */ std::shared_ptr AuthRemote(const CommandBase::Params& 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; @@ -328,8 +317,4 @@ class TreeSocket : public BufferedSocket /** Handle server quit on close */ void Close() override; - - /** Fixes messages coming from old servers so the new command handlers understand them - */ - bool PreProcessOldProtocolMessage(User*& who, std::string& cmd, CommandBase::Params& params); }; -- cgit v1.3.1-10-gc9f91