diff options
author | Robin Burchell <viroteck@viroteck.net> | 2012-04-18 07:36:07 -0700 |
---|---|---|
committer | Robin Burchell <viroteck@viroteck.net> | 2012-04-18 07:36:07 -0700 |
commit | 559156bfc5f9e0667fb9c83a8240ef244c643f2f (patch) | |
tree | ec7acdf9c886810b08ab7237d61a2b0e84b78971 /src | |
parent | 20eaf1a276fcf4dab6c144ed9486d7def01217fd (diff) | |
parent | 334632caf9e94fe950bcc0db7ef2284ab2a6fdd9 (diff) |
Merge pull request #74 from Robby-/insp20-statsupdates
[2.0] /STATS updates
Diffstat (limited to 'src')
-rw-r--r-- | src/stats.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stats.cpp b/src/stats.cpp index 9c177c780..5a117b5d3 100644 --- a/src/stats.cpp +++ b/src/stats.cpp @@ -41,7 +41,7 @@ void InspIRCd::DoStats(char statschar, User* user, string_list &results) switch (statschar) { - /* stats p (show listening ports and registered clients on each) */ + /* stats p (show listening ports) */ case 'p': { for (size_t i = 0; i < this->ports.size(); i++) @@ -301,7 +301,7 @@ void InspIRCd::DoStats(char statschar, User* user, string_list &results) } break; - /* stats L (show user I/O stats with IP addresses) */ + /* stats L (show user I/O stats with IP addresses) */ case 'L': results.push_back(sn+" 211 "+user->nick+" :nick[ident@ip] sendq cmds_out bytes_out cmds_in bytes_in time_open"); for (std::vector<LocalUser*>::iterator n = this->Users->local_users.begin(); n != this->Users->local_users.end(); n++) |