aboutsummaryrefslogtreecommitdiff
path: root/src/cmd_stats.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Move cmd_*.cpp to src/commands/. Not done in the nicest of ways yet, but ah ↵Gravatar w00t2007-10-221-318/+0
| | | | | | well :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8299 e03df62e-2008-0410-955e-edbf42e46eb7
* Another big commit, just to please all my fans out there.. cmd_* -> ↵Gravatar w00t2007-10-211-2/+2
| | | | | | Command*. Muahaha. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8290 e03df62e-2008-0410-955e-edbf42e46eb7
* In the grand tradition of huge fucking commits:Gravatar w00t2007-10-151-8/+8
| | | | | | | | - chanrec -> Channel - userrec -> User Enjoy. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8204 e03df62e-2008-0410-955e-edbf42e46eb7
* class command_t -> class Command. Whey :DGravatar w00t2007-10-151-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8203 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed bug #437 (Empty userstats setting denies stats to opers too)Gravatar special2007-10-101-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8142 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed bug #417 (empty userstats allowed all stats to be viewed)Gravatar special2007-09-181-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8042 e03df62e-2008-0410-955e-edbf42e46eb7
* Move everything module-related out of InspIRCd and into ModuleManager, there ↵Gravatar om2007-08-281-2/+2
| | | | | | | | is a ModuleManager instantiated as InspIRCd::Modules. Several of the function names have changed slightly as well. e.g. Instance->FindModule(m_foobar.so); is now Instance->Modules->Find(m_foobar.so); All modules in the core distribution should also be updated in line with these changes. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7985 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove more unnecessary header trafficGravatar w00t2007-08-271-3/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7887 e03df62e-2008-0410-955e-edbf42e46eb7
* Commit some changes from third party patch. Thanks Avenger and HiroP. Patch ↵Gravatar w00t2007-08-131-4/+7
| | | | | | review is not finished, there may be more changes to come. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7715 e03df62e-2008-0410-955e-edbf42e46eb7
* Allow clients on ULined servers to request stats indiscriminately.Gravatar w00t2007-08-031-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7635 e03df62e-2008-0410-955e-edbf42e46eb7
* OOPS! We try again, since I'm smoking craq. LF is 0x0a NOT CR.Gravatar peavey2007-07-161-1/+318
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7456 e03df62e-2008-0410-955e-edbf42e46eb7
* 'svn propset -R svn:eol-style CR *' Set to UNIX-style always. Binaries are ↵Gravatar peavey2007-07-161-318/+1
| | | | | | auto skipped by svn. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7454 e03df62e-2008-0410-955e-edbf42e46eb7
* Optimizations and code tidyups. QA please check that svsnick and other ↵Gravatar brain2007-07-011-1/+1
| | | | | | forced nick changes still work right after this git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7416 e03df62e-2008-0410-955e-edbf42e46eb7
* Probably fix 2nd compile issue on RH7 and add some checks which *should* ↵Gravatar om2007-06-031-0/+6
| | | | | | ensure none of this can break anything else git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7223 e03df62e-2008-0410-955e-edbf42e46eb7
* And a minor cleanup of the /stats z code. Nothing spectacular..Gravatar om2007-06-031-8/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7222 e03df62e-2008-0410-955e-edbf42e46eb7
* Possible fix for compile issue on some distributions. Then again there was ↵Gravatar om2007-06-031-1/+2
| | | | | | probably a reason we weren't doing this before... git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7221 e03df62e-2008-0410-955e-edbf42e46eb7
* WIN: As promised when I took it out, whowas stats in /STATS z is now working ↵Gravatar peavey2007-06-011-2/+0
| | | | | | due to fix in r7201. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7203 e03df62e-2008-0410-955e-edbf42e46eb7
* Make valgrind happy and not leak mem.Gravatar peavey2007-06-011-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7201 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove code for clientcount/servercount from /stats p. At the moment it was ↵Gravatar w00t2007-05-281-16/+6
| | | | | | slow, hacky and doesn't totally work properly (bind 2 same ports on diff. ips and watch it get confused ;p). It may be added back in a few versions once we have the infrastructure in place to tie a list of clients to a port. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7174 e03df62e-2008-0410-955e-edbf42e46eb7
* Show IPs that a port is bound to in /stats p, don't remove duplicate ports ↵Gravatar w00t2007-05-281-2/+4
| | | | | | anymore, since we know what IP a port belongs to. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7173 e03df62e-2008-0410-955e-edbf42e46eb7
* take out whowas stats from stats z until I figure out how to fix it.Gravatar peavey2007-05-221-1/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7122 e03df62e-2008-0410-955e-edbf42e46eb7
* Visual studio's ability to translate tabs to four spaces as default ↵Gravatar brain2007-05-191-6/+6
| | | | | | frustrates and peplexes tabnazi cat. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7047 e03df62e-2008-0410-955e-edbf42e46eb7
* Windows support. Tested and working to compile on freebsd and linux. Next ↵Gravatar w00t2007-05-191-5/+15
| | | | | | step is to make sure it actually works in windows too. ;p. Add Burlex to contributors. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7043 e03df62e-2008-0410-955e-edbf42e46eb7
* We've had an IS_OPER macro for a long time. About time we started using it, ↵Gravatar w00t2007-05-121-2/+2
| | | | | | maybe? :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6990 e03df62e-2008-0410-955e-edbf42e46eb7
* Refactor port binding, warning not yet tested fullyGravatar brain2007-05-111-5/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6982 e03df62e-2008-0410-955e-edbf42e46eb7
* we typedeffed nspace::hash_map<std::string,command_t*> to command_table ages ↵Gravatar brain2007-05-071-1/+1
| | | | | | | | | ago. Now its time we used it! command_table::iterator is far neater than nspace::hash_map<std::string,command_t*>::iterator git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6907 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for bug #274, same port appearing multiple times in stats p if bound ↵Gravatar brain2007-05-041-2/+6
| | | | | | multiple times on different ip addresses git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6882 e03df62e-2008-0410-955e-edbf42e46eb7
* Test stuff to fix remote stats brokageGravatar brain2007-03-241-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6710 e03df62e-2008-0410-955e-edbf42e46eb7
* Make /stats P show 'secs' after idle timesGravatar brain2007-03-121-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6667 e03df62e-2008-0410-955e-edbf42e46eb7
* Yes, we know how to spell voluntary (and involuntary!) :<Gravatar om2007-02-171-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6583 e03df62e-2008-0410-955e-edbf42e46eb7
* TypoGravatar peavey2007-01-101-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6286 e03df62e-2008-0410-955e-edbf42e46eb7
* Change stats z to show volountary and involountary seperatelyGravatar brain2007-01-101-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6285 e03df62e-2008-0410-955e-edbf42e46eb7
* Move all /WHOWAS related out of core and into cmd_whowas.Gravatar peavey2007-01-071-10/+11
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6249 e03df62e-2008-0410-955e-edbf42e46eb7
* WhoopsGravatar brain2007-01-061-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6240 e03df62e-2008-0410-955e-edbf42e46eb7
* Dont try and show idle time of remote opers in STATS PGravatar brain2007-01-061-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6239 e03df62e-2008-0410-955e-edbf42e46eb7
* Add port type identifiersGravatar brain2007-01-011-3/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6196 e03df62e-2008-0410-955e-edbf42e46eb7
* Cosmetic fix to stats z output.Gravatar peavey2006-12-251-3/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6111 e03df62e-2008-0410-955e-edbf42e46eb7
* Add whowas usage to stats z.Gravatar peavey2006-12-241-2/+22
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6090 e03df62e-2008-0410-955e-edbf42e46eb7
* Hash rehashing changeGravatar brain2006-12-231-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6080 e03df62e-2008-0410-955e-edbf42e46eb7
* Refactor connect allow/deny linesGravatar brain2006-12-221-2/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6061 e03df62e-2008-0410-955e-edbf42e46eb7
* Jesus, look who's the commit whore today. More header updates, and removal ↵Gravatar w00t2006-12-151-5/+2
| | | | | | of namespacing. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5996 e03df62e-2008-0410-955e-edbf42e46eb7
* CPU Usage percent in stats z! yay!Gravatar brain2006-12-141-0/+11
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5988 e03df62e-2008-0410-955e-edbf42e46eb7
* Make STATS i, y, c, n more relevent to 1.1Gravatar brain2006-11-161-2/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5756 e03df62e-2008-0410-955e-edbf42e46eb7
* Incorporate stats p patch by peaveydk (shows port numbers and number of ↵Gravatar brain2006-10-311-148/+172
| | | | | | | | | clients on each port) Tidy up cmd_stats.cpp in general, turn it into a large case statement git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5599 e03df62e-2008-0410-955e-edbf42e46eb7
* Replaced operonlystats with userstats to improve securityGravatar special2006-10-071-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5456 e03df62e-2008-0410-955e-edbf42e46eb7
* Try this w00tGravatar brain2006-10-011-4/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5363 e03df62e-2008-0410-955e-edbf42e46eb7
* Hide ulines from /stats PGravatar brain2006-09-171-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5271 e03df62e-2008-0410-955e-edbf42e46eb7
* Command result codes. This isnt finished yet, still got to do most of the ↵Gravatar brain2006-09-061-1/+3
| | | | | | modules, and alter CallCommandHandler git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5149 e03df62e-2008-0410-955e-edbf42e46eb7
* Auto loading of commands as shared objects via dlsym (very lightweight ↵Gravatar brain2006-09-031-0/+7
| | | | | | interface, just expects a command_t* pointer) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5118 e03df62e-2008-0410-955e-edbf42e46eb7
* Wahhhhhhhhhhhh bwahahaha. Mass commit to tidy up tons of messy include listsGravatar brain2006-08-301-20/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5080 e03df62e-2008-0410-955e-edbf42e46eb7