diff options
| author | 2010-01-18 23:49:23 +0000 | |
|---|---|---|
| committer | 2010-01-18 23:49:23 +0000 | |
| commit | dce58b1611e275118d418bfb3b4402bd14d279dd (patch) | |
| tree | e0c036dd49d629b7add3f079c17851198270f404 /src/modules/m_spanningtree/treesocket2.cpp | |
| parent | Include total CPU usage in STATS z (diff) | |
Move lots of spanningtree items to commands
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12296 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree/treesocket2.cpp')
| -rw-r--r-- | src/modules/m_spanningtree/treesocket2.cpp | 38 |
1 files changed, 1 insertions, 37 deletions
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); |
