From b6a5e2bd143cdd2fc610f79c87729d2e211da7ff Mon Sep 17 00:00:00 2001 From: danieldg Date: Fri, 9 Oct 2009 19:00:09 +0000 Subject: Add server ports to ServerInstance->ports, enable SSL on them using OnHookIO git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11810 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree/override_stats.cpp | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'src/modules/m_spanningtree/override_stats.cpp') diff --git a/src/modules/m_spanningtree/override_stats.cpp b/src/modules/m_spanningtree/override_stats.cpp index 09d0a691d..f43aa8d3b 100644 --- a/src/modules/m_spanningtree/override_stats.cpp +++ b/src/modules/m_spanningtree/override_stats.cpp @@ -65,23 +65,6 @@ ModResult ModuleSpanningTree::OnStats(char statschar, User* user, string_list &r } return MOD_RES_DENY; } - - if (statschar == 'p') - { - /* show all server ports, after showing client ports. -- w00t */ - - for (unsigned int i = 0; i < Utils->Bindings.size(); i++) - { - std::string ip = Utils->Bindings[i]->GetIP(); - if (ip.empty()) - ip = "*"; - - std::string transport(Utils->Bindings[i]->Hook); - - results.push_back(ServerInstance->Config->ServerName + " 249 "+user->nick+" :" + ip + ":" + ConvToStr(Utils->Bindings[i]->GetPort())+ - " (server, " + transport + ")"); - } - } return MOD_RES_PASSTHRU; } -- cgit v1.2.3