summaryrefslogtreecommitdiff
path: root/src/configreader.cpp
Commit message (Expand)AuthorAgeFilesLines
* Add comments as to what its doing•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7117 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-221-2/+5
* Code to find nameservers in the windows registry - largely untested•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7113 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-221-0/+4
* It seems that making inspircd.h the first include in .cpp files eliminates th...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7094 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-211-1/+1
* - Modify ServerConfig::GetFullProgDir to just return cwd, previously it did a...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7063 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-05-201-26/+6
* Windows path seperator is \, this was assuming /. Fixed.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7062 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-201-1/+1
* 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-1/+4
* Replace strip/blockcolor tags with <options:exemptchanops>, sexy string of mo...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7018 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-05-131-0/+10
* 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-2/+2
* Implement bug #282 from owine: kill sender hiding. <options:hidekills> needs ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6921 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-05-091-1/+2
* we typedeffed nspace::hash_map<std::string,command_t*> to command_table ages ...•••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 Gravatar brain2007-05-071-2/+2
* Fix one issue, add another feature: When sending MODE +beI, weed out duplicat...•••Allow configuration of which listmodes you want to deny to below halfops. For example <options hidemodes="eI">. This is because blocking +b can break mirc, blocking +eI usually wont break it so severely. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6852 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-301-2/+11
* Add support for hiding listmode lists such as +beI from unprivileged users.•••See bug #258 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6849 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-271-1/+2
* Add tweaks to support feature request in bug #256, now awaiting QA test•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6799 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-151-2/+9
* Feature request outlined in bug #257, allow connect/allow lines by port•••Needs QA test git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6798 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-151-3/+5
* Fix the previous commit better - always copy the null terminator (oops)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6744 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-061-3/+2
* Fix issue spotted by devious - if a value is defined and a later rehash clear...•••this means memcpy just returns immediately. Now if the string value is 0 in length we copy one byte instead (which just copies the null terminator) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6743 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-061-1/+3
* Fix for bug #199 (Feature request) submitted by owine. Ended up adding an ext...•••It turned into a biggie :P git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6742 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-051-4/+5
* 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-5/+5
* Add <options:fixedquit> and <options:suffixquit> to go along with the existin...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6722 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-011-2/+4
* 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