summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
Commit message (Expand)AuthorAgeFilesLines
* Choose the correct defines so that its not built too lean to compile•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7142 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-251-2/+2
* Crash on restart in win32 fixed.•••This means that the restart button in the gui, and /restart, both work now. Note, there are other bugs with the gui's restart button, the 'auto restart on crash' tries to boot the ircd! Dont use it! :P git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7075 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-201-2/+6
* Visual studio's ability to translate tabs to four spaces as default frustrate...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7047 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-191-12/+12
* Windows support. Tested and working to compile on freebsd and linux. Next ste...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7043 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-05-191-26/+132
* Add a progress meter for loading of core commands, fix broken implementation ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7038 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-161-1/+1
* Someone forgot the ELIST token (his nick begins with B)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7024 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-141-1/+1
* Move IsIdent() into helperfuncs.cpp along with IsNick/IsChannel.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7016 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-05-131-20/+0
* Refactor port binding, warning not yet tested fully•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6982 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-111-34/+23
* When running in nofork, keep the tty open (we were closing it, which meant th...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6845 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-261-3/+11
* Make error reporting work properly, it seemed to loose errors.•••First change: Add a culling list of inspsockets waiting to be closed, so the close() is less likely to be called before the buffer is entirely empty. This seems to work well on my LAN. Second change: Add a SendError() method, rather than WriteLine("ERROR : ..."). This can be used to effect by also echoing out "Sent ERROR to %s: ..." onto the +l snomask meaning at least one end will always see the error even if the ERROR command is lost due to latency or design of the transport (e.g. ssl which may be writing during a read event etc) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6844 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-261-1/+8
* Fix for "hanging" when controlling terminal is not a tty (nofork check and is...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6818 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-201-5/+8
* Fix the restart stuff that bricker noticed while testing an feature request•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6804 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-161-3/+6
* Whoooooooooooooooooooops. Forgot to initialize a varaible, so wether insp sta...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6801 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-151-1/+1
* Add --version parameter to the binary bin/inspircd, i remember someone reques...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6800 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-151-3/+12
* Report the correct MAXMODES value•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6796 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-151-1/+1
* Set the signals to 'quick exit' before the fork, not straight after, because ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6758 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-071-1/+4
* Change wording of message•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6754 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-061-2/+2
* Fix params passed on /restart•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6753 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-061-19/+1
* Increase sleep delay to 20, to provide reading time for the message•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6752 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-061-2/+2
* Missing newline•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6751 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-061-1/+1
* Add a facility to allow starting as root, bin/inspircd -runasroot•••if you actually specify this parameter, the daemon displays a huge warning in caps, then hangs for 5 secs to give you chance to ctrl+c if you made a mistake. If you dont ctrl+c it, it then starts normally. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6750 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-061-2/+18
* Before i was rudely interrupted by a FUCKING *RAM FAILURE*, i was going to co...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6735 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-041-1/+1
* Add -config parameter to bin/inspircd which allows a user to specify the conf...•••Note: This should really be a full pathname, and not a configuration file in the current directory. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6726 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-011-11/+17
* Fix bug reported by darix where inspircd process returns 15 for successful st...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6715 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-03-261-0/+6
* Remove unused var•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6709 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-03-241-2/+0
* Fix untidy debug output•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6708 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-03-241-22/+4
* Fix two things: (1) log gets replaced by a user fd after restart causing debu...•••(2) restart failing due to segfault within libc (this is because some moron decided that stdin, stdout, and stderr should still be non-null if the files arent actually open!) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6707 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-03-241-11/+60
* Wtf, ive found the source of the drift, it adds the old delta to the new!•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6685 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-03-161-1/+1
* 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