diff options
| author | 2020-05-20 02:09:14 +0100 | |
|---|---|---|
| committer | 2020-05-20 02:09:14 +0100 | |
| commit | b49846ebb97c4e192cafe056554fb3efdd51d4de (patch) | |
| tree | bc98f0bce0047dcbba5c8d4558e32e75bfccede3 /src/modules/m_spanningtree/treesocket.h | |
| parent | Merge branch 'insp3' into master. (diff) | |
Rip out compatibility code for the 2.0 protocol.
Diffstat (limited to 'src/modules/m_spanningtree/treesocket.h')
| -rw-r--r-- | src/modules/m_spanningtree/treesocket.h | 15 |
1 files changed, 0 insertions, 15 deletions
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<Link> 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); }; |
