aboutsummaryrefslogtreecommitdiff
path: root/src/configreader.cpp
Commit message (Expand)AuthorAgeFilesLines
...
* Make install list list automatically generated from build targets and provide...•••Using this, cert.pem and key.pem are only copied to the conf dir if you enabled an ssl module. Also, this provides facility for a 'make deinstall' which should be safe for use in all situations as it always specifies a file by name and never uses wildcards to rm. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8362 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-251-0/+8
* Implement <connect:limit> - limits how many clients can sit inside a <connect...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8357 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-241-4/+6
* Remove that goto, capt'n•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8356 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-241-2/+1
* Disable all connect classes, reenable them as we find them in the config. Thi...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8355 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-241-1/+6
* Finish reference counting connect class stuff. Now rehash removes unused clas...•••Possibly todo in the future: make /rehash update classes that exist in memory, make /rehash mark classes removed from conf (but still exist as refcount > 0) as inactive. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8354 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-241-1/+23
* Try this w00t, compiles, test running now•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8343 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-241-8/+9
* Start of refcount-based rehash stuff for <connect> tags, this is broken and r...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8342 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-241-3/+19
* Visual studio doesnt like throw definitions like this•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8324 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-231-1/+1
* Pedantic safe•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8314 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-231-40/+45
* Remove the need for a bunch of the hard coded arrays/hashes by scanning the s...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8307 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-221-0/+2
* Move oper classes and types stuff from users to configreader. It may need to ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8215 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-151-0/+71
* InspSocket -> BufferedSocket. Paves the way for a SimpleSocket class which id...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8206 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-151-6/+6
* In the grand tradition of huge fucking commits:••• - chanrec -> Channel - userrec -> User Enjoy. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8204 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-151-4/+4
* class command_t -> class Command. Whey :D•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8203 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-151-3/+3
* Move everything module-related out of InspIRCd and into ModuleManager, there ...•••All modules in the core distribution should also be updated in line with these changes. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7985 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2007-08-281-5/+4
* Fixes 1•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7964 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-281-3/+3
* Tidy up duplicate code, provide GetSID() method on ServerConfig which returns...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7959 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-281-0/+8
* Add <server:id> - this is optional, as stated in the example conf,•••and should only be set if you are getting collisions. The comment also points out that ids where either of the last two letters are numeric are reserved for services use (e.g. 0ZZ or 5CQ) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7917 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-271-0/+13
* Remove more unnecessary header traffic•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7887 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-271-2/+0
* Add options:maxtargets that was somehow omitted, fixes bug #400 (Reported by ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7877 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-271-0/+1
* Added new announceinvite setting i discussed briefly with w00t and i like mys...•••# The value 'dynamic' varies between 'ops' and 'all' # # settings depending on if the channel is +i or not. # # When the channel is +i, messages go only to ops, # # and when the channel is not +i, messages go to # # everyone. In short, the messages will go to every # # user who has power of INVITE on the channel. This # # is the recommended setting. # git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7841 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-261-0/+2
* Add option to set invite announcements to nobody, ops only, or all users, bas...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7837 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-261-1/+16
* Revised fix for bug #367 pointed out during qa by owine, thanks :)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7830 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-261-2/+2
* Whoops, i left a value out of the array, and gcc didnt warn!•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7768 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-201-6/+1
* Whoops! trunk-only fix to config reader so it doesnt bomb out if you omit an ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7767 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-201-1/+6
* Add <connect:maxchans> as per feature bug #338 - combined with the last featu...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7761 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-191-5/+5
* Allow changing of an oper's host on oper up using <type:class> (give it a con...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7760 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-191-1/+1
* Add <connect:inherit> and <connect:name>•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7758 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-191-2/+16
* Add extra stuff to make it work (and compile)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7757 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-191-6/+20
* Pick up a few error conditions we didnt before in the config reader, and also...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7749 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-191-24/+30
* Allow rehash to attempt to load missing (and new) lib/cmd_*.so files, to allo...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7712 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-111-0/+3
* Check for remote and sighup rehashes here, so that it doesnt crash if there a...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7684 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-071-1/+1
* Needs testbuilding in windows. I will probably do this in a minute.•••More clever tricks to eliminate ifdefs. With a bit of function pointer and functor magic we may be able to eliminate all ifdefs git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7590 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-07-271-13/+5
* Un-static InspIRCd::Exit and use SignalHandler instead.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7572 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-07-251-1/+1
* 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