summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
Commit message (Expand)AuthorAgeFilesLines
* Rebuild 005 on rehash. Tracker: bug #234•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6617 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-03-031-0/+1
* Addition of feature request outlined in bug #195, suggested by Bricker•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6602 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-02-191-1/+1
* Change around the order of InspIRCd::Cleanup(), as per bug #212•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6580 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-02-121-4/+7
* Fix rehashing to display a success notice, tidy up some WriteOpers notices•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6570 e03df62e-2008-0410-955e-edbf42e46eb7 v1.1.1Gravatar brain2007-02-101-1/+1
* timermanager never had a ServerInstance. Give it one so we can use InspIRCd::...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6561 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-02-101-1/+1
* Move quitting of clients to a central Cull List, and do quitting outside user...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6497 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-02-051-7/+11
* Change the way versions are displayed by connect and /version so that its mor...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6474 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-02-011-1/+1
* Crusade to remove debug from stable and tested parts of the core and base mod...•••Most of the code here being de-noised hasnt had a crash or bug in it for many months, if not a year so the debug output is useless noise in the logfile when trying to trace a bug in a REAL problem area. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6356 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-151-10/+0
* Cache channel max bans value to save an O(n) loop of match() on every ban (et...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6267 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-091-0/+8
* Tidy up old MaintainWhoWas.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6251 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-01-071-1/+0
* Move all /WHOWAS related out of core and into cmd_whowas.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6249 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-01-071-2/+3
* Fix crash when unloading ssl module on shutdown -- there are no port objects ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6230 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-061-0/+4
* Fix to allow for OnRehash to know what user initiated the rehash•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6207 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-011-1/+1
* Add missing feature: /rehash reinitializes dns subsytem (and can handle chang...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6193 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-311-0/+1
* Add unregistered user counter, this may also fix the (minor) m_conn_lusers sh...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6170 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-301-0/+2
* Tidyup•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6104 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-241-1/+1
* And fix obligitary brainfarts•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6099 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-241-1/+1
* Whoops, crash on sighup due to passing null argv and argc (similar to rehash,...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6098 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-241-1/+1
* Damnit, the comment caused a conflict :<•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6096 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-241-1/+0
* w00t was right, freebsd needs <getopt.h> too•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6095 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-241-3/+0
* Added a comment /* GNUs smell */ to an #ifdef linux makes us put in•••(what sort of craqsmoker puts posix standard functions that belong in unistd.h into getopt.h but only on linux? muppets). #ifdef _GNU_SOURCE #include <getopt.h> #endif ..... git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6094 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-241-0/+1
* Change argument parsing to use getopt_long_only().•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6093 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-241-36/+38
* Neither should this•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6089 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-241-0/+1
* Relatively small typo fix•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6088 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-241-1/+1
* Add call for OnGarbageCollect to the hourly cleanup•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6087 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-241-0/+1
* Do garbage collection of hash map automatically every hour•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6085 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-241-0/+1
* Better checks for NULL log handles•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6083 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-231-5/+12
* Crash on /rehash fixed (old code in here passed NULL, 0 as argc, argv, this i...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6081 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-231-0/+4
* Hash rehashing change•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6080 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-231-3/+33
* Close logfile on rehash and reopen (it was only doing this on sighup for some...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6079 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-231-1/+6
* Fix exit in wrong place, and add new exitcodes.h•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6077 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-231-1/+1
* Fix bug in m_dnsbl, a condition is always matched because someone was using u...•••Change around the way exit codes are formed so that we can return a sensible exit code that reflects why inspircd exited git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6076 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-231-10/+10
* Program termination (including SIGTERM) now calls InspIRCd::Cleanup() which d...•••This means that on controlled shutdown we give the modules a chance to unload, etc, and close our sockets and free ram in a proper way. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6075 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-231-10/+21
* Fix issue where the last module to be loaded wasnt unloaded by restart•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6074 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-231-6/+6
* Cut down on debug on restart•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6073 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-231-3/+0
* Use GetModuleCount() rather than the member var•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6072 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-231-2/+2
* Fix glitch when restarting on 2nd pass of module unload•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6071 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-231-1/+2
* Add more comments.•••Catch CoreException in cmd_restart, and if we catch one, just exit(0). Theres very little else we could do. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6070 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-231-10/+21
* Close client sockets too (do these last)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6069 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-231-0/+4
* Unload as many modules as we can on restart, and close listeners•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6068 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-231-0/+20
* Refactored /RESTART (and added InspIRCd::Restart(reason))•••Fixed bug in m_ziplinks, assigning instead of testing a var (gcc 4.1.1 picked up on this, 3.4 didnt) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6067 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-231-0/+12
* Add stuff so that the core catches CoreException properly•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6017 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-161-2/+2
* s/ChatSpike/InspIRCd/ development team•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5999 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2006-12-151-2/+1
* Jesus, look who's the commit whore today. More header updates, and removal of...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5996 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2006-12-151-24/+8
* CPU Usage percent in stats z! yay!•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5988 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-141-0/+8
* Improve the way 005 ISUPPORT is sent to users when they connect, cache it in ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5978 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-131-0/+1
* New clone counting mechanism (this isnt tested yet)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5967 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-121-0/+18
* Add InspIRCd::UseInterface and InspIRCd::DoneWithInterface, and also InspIRCd...•••These can be used for one module to lock other modules in memory that it depends on, this way they can enforce an unload order so that you cant (for example) unload m_ssl_gnutls.so whilst m_spanningtree.so is using it for ssl server to server sessions (in this case, youd have to unload spanningtree first, THEN ssl_gnutls, to satisfy the dependencies and unload orders) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5924 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-101-0/+11
* Added InspIRCd::GetTimeDelta() - previously m_alltime was using a hack to get...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5827 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar special2006-11-291-0/+5
* Grammar nazi in the hizouse•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5729 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-11-121-1/+1