summaryrefslogtreecommitdiff
path: root/src/configreader.cpp
Commit message (Expand)AuthorAgeFilesLines
* OOPS! We try again, since I'm smoking craq. LF is 0x0a NOT CR.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7456 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-07-161-1/+1714
* 'svn propset -R svn:eol-style CR *' Set to UNIX-style always. Binaries are au...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7454 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-07-161-1714/+1
* Implement a way to disable options:maxwho, bug #348•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7437 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-07-121-3/+3
* Fix undocumented windows behaviour where multiple dns servers are packed into...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7408 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-241-0/+5
* Change some = "" to clear() and some == "" to .empty()•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7263 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-091-1/+1
* Add options:moronbanner. Yes really, thats what its called. See the example c...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7232 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-041-0/+1
* Fix windows issue locating some files relative to the conf dir (namely motd, ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7231 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-041-10/+11
* Make nt the default channelmode if <options:defaultmodes> is not present.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7228 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-06-031-1/+1
* The code to work out the path seems to work fine now on freebsd and linux, st...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7211 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-021-3/+0
* Debug to troubleshoot why this writes the log to the current dir in bsd, not ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7210 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-021-0/+3
* Specific windows code for getting the full path to the exe•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7209 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-021-2/+13
* Detect BRAINDEAD WINDOWS EDITORS THAT DEFAULT TO SAVING AS UTF-16! When we fi...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7195 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-311-6/+16
* Add config example, and allow options:defaultmodes="" so that people can have...•••Default in the example config is 'nt'. SIDENOTE: Someone really needs to tidy up <options> in 1.2 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7166 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-271-1/+1
* Config option for default channel modes -- more to follow, don't use yet•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7163 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-271-2/+3
* pah, bully to you, mister posix•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7159 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-261-1/+1
* This should do it•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7158 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-261-2/+2
* Works for me now, please test•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7157 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-261-3/+4
* Brok.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7156 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-261-1/+5
* w00t please review, line 1603 configreader.cpp•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7154 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-261-7/+8
* 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