From 8e34d66ef3bef802e5758ad73ff29e1b75aaba7f Mon Sep 17 00:00:00 2001 From: danieldg Date: Tue, 2 Feb 2010 15:02:33 +0000 Subject: Add OnSetConnectClass hook for use in adding requirements to connect classes (such as requiressl) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12352 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/stats.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/stats.cpp') diff --git a/src/stats.cpp b/src/stats.cpp index df41d26da..fb4e5e7a5 100644 --- a/src/stats.cpp +++ b/src/stats.cpp @@ -80,10 +80,7 @@ void InspIRCd::DoStats(char statschar, User* user, string_list &results) else res << c->host; - if (c->port) - res << ' ' << c->port << ' '; - else - res << " * "; + res << ' ' << c->config->getString("port", "*") << ' '; res << c->GetRecvqMax() << ' ' << c->GetSendqSoftMax() << ' ' << c->GetSendqHardMax() << ' ' << c->GetCommandRate() << ' ' << c->GetPenaltyThreshold(); -- cgit v1.3.1-10-gc9f91