diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2010-02-02 15:02:33 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2010-02-02 15:02:33 +0000 |
commit | 8e34d66ef3bef802e5758ad73ff29e1b75aaba7f (patch) | |
tree | 2cecf2f520559630b1f6b1cac8e5654d2745b515 /src/stats.cpp | |
parent | 0ca1aa58d74ee743423602467cedda686e311bc1 (diff) |
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
Diffstat (limited to 'src/stats.cpp')
-rw-r--r-- | src/stats.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
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(); |