summaryrefslogtreecommitdiff
path: root/src/configreader.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add fine-grained command flood controlsGravatar danieldg2009-11-111-0/+2
| | | | | | | This reintrouces "Excess Flood" quits for those that prefer it to fakelag, and allows the maximum command rate to be set in the connect block. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12093 e03df62e-2008-0410-955e-edbf42e46eb7
* Get rid of DieDelay, it just freezes the ircd prior to exitGravatar danieldg2009-11-111-2/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12084 e03df62e-2008-0410-955e-edbf42e46eb7
* Allow near-empty configuration to work by adding sensible defaultsGravatar danieldg2009-11-091-95/+24
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12066 e03df62e-2008-0410-955e-edbf42e46eb7
* Set a name on all connect blocksGravatar danieldg2009-11-091-6/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12065 e03df62e-2008-0410-955e-edbf42e46eb7
* Create m_halfopGravatar danieldg2009-11-031-16/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11997 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove AllowHalfop item from server configGravatar danieldg2009-11-031-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11996 e03df62e-2008-0410-955e-edbf42e46eb7
* Change to <type:vhost> and <oper:vhost> because <oper:host> is taken.Gravatar danieldg2009-10-231-3/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11957 e03df62e-2008-0410-955e-edbf42e46eb7
* Split up configreader.cpp, it's a bit largeGravatar danieldg2009-10-221-424/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11954 e03df62e-2008-0410-955e-edbf42e46eb7
* Move command-line items to CommandLineConfGravatar danieldg2009-10-211-13/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11949 e03df62e-2008-0410-955e-edbf42e46eb7
* Use ConfigTagList as a faster access method for access to configurationGravatar danieldg2009-10-211-47/+39
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11948 e03df62e-2008-0410-955e-edbf42e46eb7
* Change User::oper to an OperInfo referenceGravatar danieldg2009-10-211-2/+47
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11945 e03df62e-2008-0410-955e-edbf42e46eb7
* Move ugly .*.inc files into make/template/ where they can be more easily foundGravatar danieldg2009-10-201-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11929 e03df62e-2008-0410-955e-edbf42e46eb7
* Add a setting to <connect> allowing the threshold for activation of the ↵Gravatar peavey2009-10-191-0/+1
| | | | | | penalty system to be set in the configuration, or be disabled by setting it to 0. [jackmcbarn] git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11922 e03df62e-2008-0410-955e-edbf42e46eb7
* Close files opened by configreaderGravatar danieldg2009-10-191-20/+28
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11915 e03df62e-2008-0410-955e-edbf42e46eb7
* Prevent path names from being specified in modules, and move moduledir to a ↵Gravatar danieldg2009-10-191-1/+1
| | | | | | <path> tag git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11914 e03df62e-2008-0410-955e-edbf42e46eb7
* Add <define> configuration tagGravatar danieldg2009-10-181-9/+36
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11907 e03df62e-2008-0410-955e-edbf42e46eb7
* Add filename/line information to all ConfigTag objectsGravatar danieldg2009-10-171-476/+377
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11886 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix DNSServer not being read on initial config readGravatar danieldg2009-10-171-8/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11884 e03df62e-2008-0410-955e-edbf42e46eb7
* Add some default values that I missed (thanks for pointing it out, jdhore); ↵Gravatar danieldg2009-10-171-22/+20
| | | | | | move file reading into thread git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11881 e03df62e-2008-0410-955e-edbf42e46eb7
* Hold reference to the associated ConfigTag inside ConnectClassGravatar danieldg2009-10-171-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11880 e03df62e-2008-0410-955e-edbf42e46eb7
* Rewrite ConfigReader againGravatar danieldg2009-10-171-957/+363
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11879 e03df62e-2008-0410-955e-edbf42e46eb7
* Clean up static allocationsGravatar danieldg2009-10-161-0/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11878 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix module unmapping with culled Module objectsGravatar danieldg2009-10-141-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11875 e03df62e-2008-0410-955e-edbf42e46eb7
* Change to new execution directory structureGravatar danieldg2009-10-131-82/+7
| | | | | | | | Don't change CWD into bin/ Remove path-resolution hacks from configuration Store pidfile and xline DBs in data, logs in logs. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11866 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove needless chdir() from inspircd executableGravatar danieldg2009-10-131-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11865 e03df62e-2008-0410-955e-edbf42e46eb7
* Allow confpath to be a file name in the current directoryGravatar danieldg2009-10-131-6/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11864 e03df62e-2008-0410-955e-edbf42e46eb7
* m_exemptchanops by jackmcbarn - channel mode +X to allow per-channel settingGravatar danieldg2009-10-121-9/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11855 e03df62e-2008-0410-955e-edbf42e46eb7
* More WriteGlobalSno conversions in rehash, patch by dKingstonGravatar danieldg2009-10-121-7/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11853 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix empty SID validation and generationGravatar danieldg2009-10-121-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11851 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix automatic SID generation when generated value is less than 100Gravatar danieldg2009-10-121-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11850 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix crash due to null address in DNSGravatar danieldg2009-10-031-6/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11797 e03df62e-2008-0410-955e-edbf42e46eb7
* Get rid of a bunch of memory-wasting C-style stringsGravatar danieldg2009-10-031-48/+41
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11796 e03df62e-2008-0410-955e-edbf42e46eb7
* Add explicit reference-counting base classGravatar danieldg2009-09-301-24/+15
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11785 e03df62e-2008-0410-955e-edbf42e46eb7
* Flexible SendQGravatar danieldg2009-09-261-4/+16
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11766 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove InspIRCd* parameters and fieldsGravatar danieldg2009-09-261-41/+36
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11763 e03df62e-2008-0410-955e-edbf42e46eb7
* Move configuration filename specification to start script, to reduce ↵Gravatar danieldg2009-09-241-2/+2
| | | | | | hardcoded paths in executable git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11759 e03df62e-2008-0410-955e-edbf42e46eb7
* Clarify <include:executable> error messageGravatar danieldg2009-09-131-1/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11718 e03df62e-2008-0410-955e-edbf42e46eb7
* Prevent <include:executable> from running <include:executable> itself ↵Gravatar danieldg2009-09-131-10/+16
| | | | | | [jackmcbarn] git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11710 e03df62e-2008-0410-955e-edbf42e46eb7
* Compile fixGravatar danieldg2009-09-061-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11685 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix rehash unloading core commandsGravatar danieldg2009-09-061-0/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11684 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove HandleInternal and HandleServer, they are duplicated by Request* and ↵Gravatar danieldg2009-09-031-4/+3
| | | | | | FakeUser git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11672 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove strnewdup(), it is a good source of possible memory leaksGravatar danieldg2009-09-021-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11622 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix access-after-free on rehashGravatar danieldg2009-08-201-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11534 e03df62e-2008-0410-955e-edbf42e46eb7
* Make rehash work more than once per run, and fix some uninitialized values ↵Gravatar danieldg2009-08-121-2/+0
| | | | | | in connect classes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11505 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixes for config readerGravatar danieldg2009-08-121-710/+571
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11504 e03df62e-2008-0410-955e-edbf42e46eb7
* Don't catch and rethrow, as with the mutexing here removed it's no longer ↵Gravatar w00t2009-08-051-75/+66
| | | | | | | | required. Thanks Special for noticing. This rethrow was also not best-practice, 'throw;' is the recommended C++ way to rethrow an exception. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11496 e03df62e-2008-0410-955e-edbf42e46eb7
* How about we abort if there were errors, not if there weren't any? Great idea...Gravatar danieldg2009-08-051-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11494 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix config errors being detected even if there were noneGravatar danieldg2009-08-051-3/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11493 e03df62e-2008-0410-955e-edbf42e46eb7
* Exit if there were errors reading configuration on startup.Gravatar w00t2009-08-041-0/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11486 e03df62e-2008-0410-955e-edbf42e46eb7
* Show config warnings/errors regardless of loglevel on startup.Gravatar w00t2009-08-011-0/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11451 e03df62e-2008-0410-955e-edbf42e46eb7