From 1ebcd320848b42e0c4b7b8d9e2495e6013869644 Mon Sep 17 00:00:00 2001 From: w00t Date: Mon, 27 Aug 2007 18:26:53 +0000 Subject: Remove some old style compatibility checking for 1.0-alpha servers, this really isn't needed anymore, as they will ERROR off anyway with an unknown command git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7906 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree/treesocket2.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/modules') diff --git a/src/modules/m_spanningtree/treesocket2.cpp b/src/modules/m_spanningtree/treesocket2.cpp index f8ba67cc5..74e1dd084 100644 --- a/src/modules/m_spanningtree/treesocket2.cpp +++ b/src/modules/m_spanningtree/treesocket2.cpp @@ -1021,11 +1021,6 @@ bool TreeSocket::ProcessLine(std::string &line) { return this->Capab(params); } - else if ((command == "U") || (command == "S")) - { - this->SendError("Cannot use the old-style mesh linking protocol with m_spanningtree.so!"); - return false; - } else { irc::string error = "Invalid command in negotiation phase: " + command; @@ -1042,11 +1037,6 @@ bool TreeSocket::ProcessLine(std::string &line) // silently ignore. return true; } - else if ((command == "U") || (command == "S")) - { - this->SendError("Cannot use the old-style mesh linking protocol with m_spanningtree.so!"); - return false; - } else if (command == "BURST") { if (params.size() && Utils->EnableTimeSync) -- cgit v1.2.3