From dce58b1611e275118d418bfb3b4402bd14d279dd Mon Sep 17 00:00:00 2001 From: danieldg Date: Mon, 18 Jan 2010 23:49:23 +0000 Subject: Move lots of spanningtree items to commands git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12296 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree/treesocket2.cpp | 38 +----------------------------- 1 file changed, 1 insertion(+), 37 deletions(-) (limited to 'src/modules/m_spanningtree/treesocket2.cpp') diff --git a/src/modules/m_spanningtree/treesocket2.cpp b/src/modules/m_spanningtree/treesocket2.cpp index 00783bed3..fc58862d7 100644 --- a/src/modules/m_spanningtree/treesocket2.cpp +++ b/src/modules/m_spanningtree/treesocket2.cpp @@ -290,15 +290,7 @@ void TreeSocket::ProcessConnectedLine(std::string& prefix, std::string& command, command = "MODE"; // TODO move all this into Commands - if (command == "UID") - { - this->ParseUID(prefix, params); - } - else if (command == "FJOIN") - { - this->ForceJoin(who,params); - } - else if (command == "STATS") + if (command == "STATS") { this->Stats(prefix, params); } @@ -322,26 +314,10 @@ void TreeSocket::ProcessConnectedLine(std::string& prefix, std::string& command, { this->Error(params); } - else if (command == "OPERTYPE") - { - this->OperType(prefix,params); - } else if (command == "AWAY") { this->Away(prefix,params); } - else if (command == "FMODE") - { - this->ForceMode(who,params); - } - else if (command == "FTOPIC") - { - this->ForceTopic(prefix,params); - } - else if (command == "METADATA") - { - this->MetaData(prefix,params); - } else if (command == "PING") { this->LocalPing(prefix,params); @@ -360,18 +336,6 @@ void TreeSocket::ProcessConnectedLine(std::string& prefix, std::string& command, { this->ServerVersion(prefix,params); } - else if (command == "FHOST") - { - this->ChangeHost(prefix,params); - } - else if (command == "FNAME") - { - this->ChangeName(prefix,params); - } - else if (command == "FIDENT") - { - this->ChangeIdent(prefix,params); - } else if (command == "ADDLINE") { this->AddLine(prefix,params); -- cgit v1.3.1-10-gc9f91