summaryrefslogtreecommitdiff
path: root/src/configreader.cpp
AgeCommit message (Collapse)Author
2012-09-30Make ConfigReader::GetSID() return a const reference to a string instead of ↵attilamolnar
a string
2012-09-23Fix undefined behavior caused by referencing the returned buffer by ↵attilamolnar
std::string::c_str() when the object is temporary Thanks to @ChrisTX for pointing this out Fixes #257 reported by @helloall
2012-09-13configreader: Replace ConfValue here with a ConfigTagList enumeration, as it ↵ChrisTX
isn't guaranteed that bind or link tags are unique which causes Issue #270 Original commit edited by @attilamolnar - fixed wrong line being displayed in generated messages - removed redundant ServerInstance->Config before ConfTags
2012-08-25Add a config option to enable/disable the welcome notice sent to clients ↵attilamolnar
after successful registration Fixes #284 reported by @hoggeh
2012-07-06Added color codes to /rules, moved the parsing to ServerConfig and cleaned ↵Justin Crawford
the code up a bit
2012-07-05Explicitly deprecate some config changes.Peter Powell
2012-04-19Replace copyright headers with headers granting specific authors copyrightRobby-
2012-04-18No need to check elines twice..Robin Burchell
2012-04-15Backported Shawn's NoSnoticeStack code from insp21Robby-
2012-04-01Add <connect:maxconnwarn>Rutger
Created the maxconnwarn variable in the connect block, so you can make connect blocks that only warns about max connections if you want to. This reduces noise from connecting clients that have low maxlocal and/or maxglobal. It is enabled by default.
2011-07-17Only write pidfile if we have parsed a valid configurationDaniel De Graaf
2011-04-19Fix IPv6 test on WindowsAdam
2010-12-23Fix bug #113Jackmcbarn
2010-08-03Fix rehash message sending for remote rehashesDaniel De Graaf
2010-07-04Include location of duplicated oper blocksDaniel De Graaf
2010-03-22Don't repeat the Raw I/O log message on every rehashdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12654 e03df62e-2008-0410-955e-edbf42e46eb7
2010-03-22Change <security:operspywhois> to a tristatedanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12653 e03df62e-2008-0410-955e-edbf42e46eb7
2010-03-19Add RAWIO log level which is more verbose than DEBUGdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12646 e03df62e-2008-0410-955e-edbf42e46eb7
2010-03-18Make /etc/resolv.conf reader slightly less stupiddanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12642 e03df62e-2008-0410-955e-edbf42e46eb7
2010-03-14Add <options:cyclehostsfromuser> to configure source for mode changes on ↵danieldg
host cycle git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12636 e03df62e-2008-0410-955e-edbf42e46eb7
2010-03-11Fix empty SID when applying config-specified X:linesdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12618 e03df62e-2008-0410-955e-edbf42e46eb7
2010-03-10Complain when duplicate tags are found using ConfValuedanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12616 e03df62e-2008-0410-955e-edbf42e46eb7
2010-03-08Fix logic error in comparisondanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12615 e03df62e-2008-0410-955e-edbf42e46eb7
2010-03-08Warn about duplicate <type> and <class> blocksdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12614 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-23Replace #define IPV6 with <config defaultbind="ipv6">, and autodetect if not ↵danieldg
specified git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12550 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-16Remove SYSTEM and related sensitive information from the non-oper VERSION linedanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12471 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-10Why are we wasting space on DieValue?danieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12418 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-06Move configuration examples to docs, remove automatic overwrite on make installdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12383 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-02Executable include for MOTD and moredanieldg
This introduces an <execfiles> tag that reads files from the output of a command, in the same way as executable includes. The files specified here can also be used anywhere a file is used (opermotd, randquote, etc) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12354 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-02Add OnSetConnectClass hook for use in adding requirements to connect classes ↵danieldg
(such as requiressl) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12352 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-02Sort items in the 005 linedanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12351 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-31Update connect block matching on rehash to prefer names, show more useful ↵danieldg
information in /STATS i git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12337 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-31Allow connect classes to be specified without an allow or deny maskdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12336 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-29Remove MaxWhoResults, replace with an increase of Penalty based on result ↵danieldg
list size git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12325 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-18Fix type-based oper blocks not storing their namesdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12298 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-18Remove excessive gettimeofday system callsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12293 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-16Manual port of don't error on failed port bind commit.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12274 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-11...because every now and again, i have to do a massive commit.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7
2009-11-11Add fine-grained command flood controlsdanieldg
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
2009-11-11Get rid of DieDelay, it just freezes the ircd prior to exitdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12084 e03df62e-2008-0410-955e-edbf42e46eb7
2009-11-09Allow near-empty configuration to work by adding sensible defaultsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12066 e03df62e-2008-0410-955e-edbf42e46eb7
2009-11-09Set a name on all connect blocksdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12065 e03df62e-2008-0410-955e-edbf42e46eb7
2009-11-03Create m_halfopdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11997 e03df62e-2008-0410-955e-edbf42e46eb7
2009-11-03Remove AllowHalfop item from server configdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11996 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-23Change to <type:vhost> and <oper:vhost> because <oper:host> is taken.danieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11957 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-22Split up configreader.cpp, it's a bit largedanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11954 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-21Move command-line items to CommandLineConfdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11949 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-21Use ConfigTagList as a faster access method for access to configurationdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11948 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-21Change User::oper to an OperInfo referencedanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11945 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-20Move ugly .*.inc files into make/template/ where they can be more easily founddanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11929 e03df62e-2008-0410-955e-edbf42e46eb7