summaryrefslogtreecommitdiff
path: root/src/configreader.cpp
AgeCommit message (Collapse)Author
2008-04-21Merge in large patchset from GreenReaper, useful fixes for freeing a ton of ↵brain
different things on shutdown for tidyness, and a few stack corruption fixes in the mode handler git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9565 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-19fix text in validate methods where option was moved to either performance or ↵peavey
security. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9552 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-15Fixes for ValidateHostnamepeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9511 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-15Chain ValidateServerName onto ValidateHostname so that the servername gets ↵brain
hostname validity checks (prevents servernames with spaces etc) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9510 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-15Deprecate a few more config options.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9509 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-15Nuke the ability to define <options:loglevel> from orbit :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9508 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-15See configreader.cpp line 764 to see how to declare deprecated items. This ↵brain
is reasonably well thought out so i see no issue with leaving items here a very long time :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9507 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-14Move options vlaues netbuffersize, maxwho, maxconn, softlimit, quietbursts, ↵brain
nouserdns into performance tag git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9505 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-14TRUNK CONFIG BREAKAGE WARNING: Move a bunch of options tag values into a new ↵brain
tag called 'security'. See example conf git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9504 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-13trunk doesnt seem to like < and > in a quoted section, because someone ↵brain
REMOVED the if check by mistake! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9495 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-12Fixes for bug #515, update existing in-use connect tags on the fly in rehashbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9471 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-11(untested) don't move newconfig to ServerConfig::config_data until its been ↵brain
validated by all the validation funcs in the core config table git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9461 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-11Remove 'default log' and <options:loglevel> (wtf?)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9460 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-10Fix for bug #503 reported by Stealth (at last)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9453 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-02Depreciated ServerInstance->Log() seems to crash configreader on rehash? We ↵brain
should remove the depreciated calls anyway, so im not too concerned as to why they crash - probably not threadsafe. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9275 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-02Remove MAXCLIENTS, this is supported at runtime by the softlimit anyway.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9265 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-30Commit -Wformat=2 -Wmissing-format-attributes, printf-like functions in ↵aquanight
inspircd now get treated like printf (meaning compile-time check goodness) in GCC git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9217 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-24This module uses io hooking too, fix it upbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9190 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-23Add ability to control what opertypes can set what operonly user/chan modes. ↵aquanight
This works the same way as commands, in that modes allowed by classes are added together, and * allows all. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9176 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-22Wheeee for HUGE commits. Convert all numerics to WriteNumeric so that ↵brain
OnNumeric can capture them. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9175 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-14Add fixes to stop people changing the SID of a live server - certain ↵brain
configuration values are silently ignored on rehash, namely the server name and server id. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9073 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-26EXECUTABLE INCLUDES works! :Dbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9039 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-26Fixes to make it run right :)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9038 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-26Revert configure so that we can uh, actually compile.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9037 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-24Yay, local /rehash is now fixed :)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9028 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-24Add mutexes to this to make it a bit more threadsafebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9025 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-24I apologise for the 712 space-indented lines i put in here :< *runs*brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9024 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-24Put log-switching back into configreaderaquanight
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9023 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-24Allow for 'bail' and 'user' parameters to rehash threadbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9022 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-24Rollback complete! Everyone please go through the code and check i havent ↵brain
forgotten to incorporate your tweaks and changes. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9019 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-24No longer crashes.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9017 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-24This segfaults atm. i'm working on it.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9016 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-24Probably doesnt runbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9014 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-24First part of my evil empire! BWAHAHAHAHAHAHAH...HAHAHAHA...AHAHAH *cough* ↵brain
err i mean... remote includes (BWAHAHAHA) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9013 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-22Convert remaining InspIRCd::Log() calls to new logging systemaquanight
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9001 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-14More <log> stuffaquanight
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8928 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-13Commit patch from danieldg that makes a ton of stuff const-safe for latest ↵brain
warn-happy trigger-happy gcc4 (thanks) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8922 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-11Add -Wshadow to cflags, and fix a bunch of warnings that come with it. Add a ↵w00t
note to webirc that needs looking at. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8892 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-03Clear up header insanityw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8808 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-02Back out the AllowDevoiceSelf stuff, it wasn't going to work anyway. ↵w00t
Accidental commit. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8796 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-02Cache User::GetIPString()w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8795 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-02Move some stuff to usermanager, remove a little header insanity, remove ↵w00t
trace because it's still less useful than a chocolate fireman. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8790 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-27Change API OnOperCompare to OnPassCompare, password hashing is now available ↵aquanight
for <connect:allow>, <power die= restart=>, <title> (m_customtitle.so), <vhost> (m_vhost.so), this works the same was as for <oper>: load m_password_hash.so (after all hasher modules, of course), and add hash="md5/sha256/whatever" to the relevant tag. Also fix m_callerid.cpp crashing on unload. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8755 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-17Fix.. snomask O is already taken (ffs) so use A insteadw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8729 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-17Remove InspIRCd::WriteOpers in favour of snomask Ow00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8728 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-16Make the sid exception message more descriptive so a user knows what a valid ↵brain
SID is git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8722 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-16Validate <server:id> on startup if provided, thx Brainw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8721 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-10Header update: 2007 -> 2008w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8694 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-10Implement <options:prefixpart|suffixpart|fixedpart>w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8690 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-04Remove non-portable code and replace with a debug callw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8632 e03df62e-2008-0410-955e-edbf42e46eb7