summaryrefslogtreecommitdiff
path: root/src/config.c
AgeCommit message (Collapse)Author
2009-06-11Make stristr() const-safe, replace post-increment on iterators with ↵cyberbotx
pre-increment, remove now unused variables, made my_memo_lang() in hs_request.c const-safe. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2320 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-11Cleanup of internals of new opertype stuff by Adam. Removes OS OPER and OS ↵rburchell
ADMIN, changes OS STAFF to be more helpful in their place. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2319 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-04Removed is_host_setter() and is_host_remover() from code and replaced them ↵cyberbotx
with opertype priv "hostserv/set", removed <hostserv:hostsetters> from configuration. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2260 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-02Remove NSRestrictGetPass, and replace it with opertype usage.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2237 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-14Fixed typo on operserv which was stopping opersonly working. Good find Adam. ↵sjaz
(You do pick up the weirdest of things ....) git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2162 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-14Fix bug #1055, keetopic != keeptopic.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2158 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-28Remove CSRestrictGetPass, it is unneeded with the introduction of opertypes. ↵rburchell
[Adam] git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2136 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-17Fix numerous errors in Win32 building under Visual Studio due to the many ↵cyberbotx
changes to trunk. Trunk now builds under Windows like it should. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2106 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16Replaced time_t with long in the ValueItem class, this was preventing ↵cyberbotx
building under FreeBSD. Works under FreeBSD and Linux now. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2098 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16Add 'w' and 'y' support to dotime(), also prevent a possible overflow - ↵rburchell
thanks to DP. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2093 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16Default options::dumpcore to yes.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2089 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15Remove nicktracking option, not used now.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2077 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15HelpServ has been destroyed, +1000 points. Also fixed the argument order in ↵cyberbotx
the deprecated match_wild() function. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2074 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15Can now correctly tie users to opertypes.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2063 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15Blah, blah..rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2061 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-14Removed references to RAW in config and lang files. Kirby from Dreamland ate ↵cyberbotx
them, he was hungry. Probably wasn't good for his appetite, though. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2049 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-12Fix bug 993, Anope was crashing on /os reload, no longer crashes.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1920 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-03Housekeeping contact address updates.sjaz
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1914 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-02Update copyrights for 2009.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1909 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-23Converted many C-style casts to C++-style casts.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1788 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-22Fixed a potential memory leak in the config parser.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1785 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-20Changed integer config values that were marked PARAM_POSINT in the old ↵cyberbotx
config to unsigned integers. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1765 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-20Removed old example.conf and replaced with example_new.conf, services.conf ↵cyberbotx
will now be read by the new parser and not services_new.conf git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1764 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-19Converted modules to use ConfigReader to access new config parser.cyberbotx
Added all module directives to new config. Removed references to old config parser (not sure if I got them all, though). git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1756 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-18Removed autokilldatabase directive from operserv block as it is no longer in ↵cyberbotx
use with the removal of legacy database support. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1752 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-18Added localhost and localport directives to serverinfo block in new config.cyberbotx
Removed some more MySQL references. Added proper check for uplink block to make sure there is at least one defined. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1748 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-16Added support for multiple uplink blocks in the new config.cyberbotx
Moved the type and id directives from the uplink block to the serverinfo block. Small config fixes. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1746 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-16Added module blocks for autoloading non-core modules.cyberbotx
Modified buildStringList to take an std::string and use spacesepstream instead of strtok. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1745 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-16Fix a few lines added/changed earlier to be the way they should be.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1744 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-16Remove UseTS6. This is now on or off at an ircd, not a config level. Move ↵rburchell
Chary to obsolete for now, it's identical to ratbox anyway in most regards, and it's getting annoying having to redo the same work twice.. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1740 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-16Enable SVSHOLD for Insp1.1/1.2, remove UseSVSHOLD. Enforcer support may go ↵rburchell
away, as it is hacky, and no longer used with any of the ircds. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1739 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-16Remove UnRestrictSAdmin.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1738 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15Remove the MySQL related directives from the old config as MySQL has been ↵cyberbotx
ripped out of 1.9 for the time being. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1737 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15Added ulineservers directive to options block in new config.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1736 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15Added newscount directive to options block in new config.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1735 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15Added restrictopernicks directive to options block in new config.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1734 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15Added nickregdelay directive to options block in new config.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1733 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15Added anonymousglobal directive to options block in new config.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1732 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15Added globaloncycleup directive to options block in new config.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1728 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15Added globaloncycledown directive to options block in new config.cyberbotx
Added ValidateGlobalOnCycle function to validate the directives that control Global on cycle. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1727 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15Added globaloncycle directive to options block in new config.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1726 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15Added hidestatso directive to options block in new config.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1725 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15Added dumpcore and logusers directives to options block in new config.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1724 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15Added usestrictprivmsg directive to options block in new config.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1723 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15Added useprivmsg directive to options block in new config.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1722 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15Added forceforbidreason directive to options block in new config.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1721 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15Added keepbackups directive to options block in new config.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1720 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15Added keeplogs directive to options block in new config.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1719 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15Added timeoutcheck directive to options block in new config.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1715 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15Added warningtimeout directive to options block in new config.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1714 5417fbe8-f217-4b02-8779-1006273d7864