summaryrefslogtreecommitdiff
path: root/src/configreader.cpp
Commit message (Expand)AuthorAgeFilesLines
* option to allow announce of invites to channel (similar to unreal)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6635 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-03-081-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-0/+4
* Fix odd warnings from propolice.•••Obviously this isnt valid for it: char b[MAXBUF]; getcwd(b, MAXBUF)..... it demands that b be 1024 in length. odd. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6577 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-02-121-12/+12
* Allow for nick!user@host in TOPIC information.•••Note that this adds another <options> tag value, 'hostintopic'. (defaults to yes) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6572 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-02-111-0/+1
* 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-0/+5
* When opening a file to read, check its not a directory with stat()•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6557 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-02-101-2/+13
* Fix crash in ReportConfigError when done via SIGHUP.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6494 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-02-051-49/+49
* Set a few defaults for <connect> tag.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6489 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-02-041-2/+2
* Cut out some code duplication by using the existing exception framework in he...•••(this is currently the only value we dont allow changing at runtime, maybe there are more to be found which are obviously unsafe to change) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6439 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-251-37/+11
* Now wont even try to read an empty file•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6400 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-201-0/+3
* It says something about how excessive our debug output is when the ssl module...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6365 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-171-26/+0
* Made the real name value for /admin optional (line isn't displayed if not spe...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6281 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar special2007-01-091-1/+1
* 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-1/+9
* And fix this bit too•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6224 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-041-4/+4
* Add support for suffixes K, M, G (kilo, mega, gigabyte) and prefix 0x (hex)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6209 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-021-0/+36
* Fixed search and replace, code pilfered from m_alias (i think someone misread...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6162 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-291-1/+0
* Fix for empty 005 lines•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6139 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-281-3/+6
* have configure detect SOMAXCONN and store it in a string define, SOMAXCONN_S•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6126 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-261-37/+37
* Add defaults for a ton of config vars, fix indentation, and add MAXCLIENTS_S ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6125 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-261-57/+49
* Add some defaults to serverconfig, removing need to set them in validate meth...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6120 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-12-261-17/+15
* Also add support for default values for ConfValueBool and ConfValueInteger in...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6116 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-12-261-7/+38
* Tidyup a few var inits for whowas and ircu style prefix.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6114 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-12-261-4/+2
* Add possibility to define default value for ConfValue in configreader and Rea...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6113 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-12-261-39/+55
* 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-3/+4
* Uninitialized values: fun for ALL the family this xmas time.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6065 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-221-5/+9
* Line 1582 configreader.cpp•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6063 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-221-0/+2
* Refactor connect allow/deny lines•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6061 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-221-34/+2
* Fix a little = turned into a ==•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6025 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-12-171-1/+1
* If the caller said no linefeeds, dont bail, instead just turn the linefeeds i...•••"aaaa bbbb" becomes "aaaa bbbb". git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6022 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-171-3/+6
* Config option added for prefixed channel NOTICEs and PRIVMSGs to turn on/off ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6018 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-12-161-0/+1
* Tidy up text formatting•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6015 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-161-1/+1
* Add an optional parameter to ConfigReader::ReadValue which defines if we want...•••Tidy up some duplicated code in configreader (error reporting) Change ModuleException to inherit from CoreException, have the configreader throw and catch its CoreException on fatal error git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6013 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-161-103/+129
* Linefeeds in quotes, just for w00t.•••WARNING: THIS NEEDS SOME EXTRA STUFF TOMORROW: Someone remind me to add a 'no linefeeds' bool flag to ConfigReader::ReadValue, because a lot of values should NOT have linefeeds in! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6004 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-161-7/+24
* 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-7/+4
* 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/+31
* It works! WOO AND YAY! (this isnt finished yet, only an idiot would use this ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5897 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-091-0/+1
* Add the stuff required for the InspSocketHook interface•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5890 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-091-1/+1
* Not yet tested -- allow iohooking of inspsockets•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5886 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-091-2/+33
* CheckDie was always still here, we were just forgetting to set the die value'...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5833 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-031-12/+1
* Fix <die:value>, its been broken for quite some time. (whoops *hide*)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5832 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-031-0/+12
* Removed <options:tempdir> - this hasn't been used since modules were updated ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5785 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar special2006-11-221-9/+1
* Fix all the _FORTIFY_SOURCE warnings except "punned pointer".•••We CANNOT fix this, as it is the recommended (and only) way to dlsym a symbol from a .so file. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5770 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-11-191-7/+14
* Tidy up some stuff•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5753 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-11-151-0/+52
* The array should no longer be static•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5752 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-11-151-2/+2
* All of the void* cast stuff gone!!!•••Todo: comment all this stuff... git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5750 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-11-151-60/+77
* Remove tons of pointer craq (theres still a tinnny bit more to remove)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5749 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-11-151-76/+62
* Tons of tweaks to the config stuff for the core•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5744 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-11-141-53/+52
* Tidyup and tons of debug in here, to troubleshoot an ongoing issue with gcc3....•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5743 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-11-141-7/+7
* Fix PruneWhoWas to actually work right on rehash. Add debug output to whowas....•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5734 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-11-131-1/+4
* Do *NOT* use local vars in ServerConfig::Read for temporary storage of values•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5733 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-11-131-2/+2