From 80abf1ed3ef868b1cad85785b2386f5cbd818ba4 Mon Sep 17 00:00:00 2001 From: danieldg Date: Tue, 19 Jan 2010 05:08:14 +0000 Subject: Remove overrides for ADMIN, STATS, TIME git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12302 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree/treesocket2.cpp | 14 +------------- 1 file changed, 1 insertion(+), 13 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 d10ec612c..3f63da03d 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 == "STATS") - { - this->Stats(prefix, params); - } - else if (command == "ADMIN") - { - this->Admin(prefix, params); - } - else if (command == "MAP") + if (command == "MAP") { Utils->Creator->HandleMap(params, who); } @@ -356,10 +348,6 @@ void TreeSocket::ProcessConnectedLine(std::string& prefix, std::string& command, { this->Push(prefix,params); } - else if (command == "TIME") - { - this->Time(prefix,params); - } else if (command == "SQUIT") { if (params.size() == 2) -- cgit v1.3.1-10-gc9f91