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/stats.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/stats.cpp') diff --git a/src/stats.cpp b/src/stats.cpp index 448d6deee..a512ccc38 100644 --- a/src/stats.cpp +++ b/src/stats.cpp @@ -50,8 +50,8 @@ void InspIRCd::DoStats(char statschar, User* user, string_list &results) if (ip.empty()) ip.assign("*"); - results.push_back(sn+" 249 "+user->nick+" :"+ ip + ":"+ConvToStr(this->ports[i]->GetPort())+" (client, " + - this->ports[i]->GetDescription() + ")"); + results.push_back(sn+" 249 "+user->nick+" :"+ ip + ":"+ConvToStr(ports[i]->bind_port)+ + " (" + ports[i]->type + ", " + ports[i]->hook + ")"); } } break; -- cgit v1.3.1-10-gc9f91