summaryrefslogtreecommitdiff
path: root/src/config.c
AgeCommit message (Collapse)Author
2010-06-18Renamed all of source files from .c to .cppAdam
2010-06-18Burned slist, rewrote operservs XLine codeAdam
2010-06-18Rewrote the hashing system to use std::tr1::unordered_mapAdam
2010-06-18Removed old config.h and moved configreader.h to config.hAdam
2010-06-18Made opertypes inheritableAdam
2010-06-18Removed all references to $, git has no svn keywordsAdam
2010-06-18Fixed bug #1171 - Fixed defcon so it works on WindowsAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@3010 5417fbe8-f217-4b02-8779-1006273d7864
2010-05-14Reversed the autoop flag to make it more logical. In 1.8, we set this flag ↵DukePyrolator
to DISABLE autoop. Now we set this flag to ENABLE autoop. Also updated the database converter. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2957 5417fbe8-f217-4b02-8779-1006273d7864
2010-04-08Rewrote sockets. This adds support for IPv6 and makes Anope capable of ↵Adam-
reconnecting if it loses connection to the uplink. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2862 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-24Rewrote arg parsing system, changed lots of std::string*s to std::string&, ↵Adam-
made --config arg, and made Anope print out a few lines of information when starting git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2833 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-21Added options:passlenAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2831 5417fbe8-f217-4b02-8779-1006273d7864
2010-03-21Made usermax and hostmax configurableAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2829 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-02Added options:botmodes to configure what modes BotServ bots should use in ↵Adam-
channels git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2778 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-31replaced the alog() command with a new type-safe and stream-based Alog()DukePyrolator
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2777 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-11updated copyright info for 2010pimpmylinux
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2753 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-06Fixed windows build and cleaned up a few small thingsAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2736 5417fbe8-f217-4b02-8779-1006273d7864
2010-01-04Removed NICKMAX and CHANMAX, replaced user->nick, c->name, and ci->name with ↵Adam-
std::string git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2732 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-31Added in new plaintext databases. Note: This currently has no automatic ↵Adam-
backup feature. Big thanks to Phil on this for mass scale testing git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2722 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-05Added options:mlock in the config so you can set what modes should be locked ↵Adam-
on new channels git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2690 5417fbe8-f217-4b02-8779-1006273d7864
2009-12-05Got rid of some now unnecessary code in config.c and moved ↵Adam-
Config.Opers.clear() to InitOpers where it belongs git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2689 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-28Massive move of all of the Config variables out of global scope to the ↵Adam-
Config class git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2674 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-11Added support for permanent channels. This supports both permanent channel ↵Adam-
modes and the ability to have BotServ bots stay in the channel to keep it open. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2638 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-08Rewrote all of the old C style flag systems into a new Flag class which ↵Adam-
everything inherits from. This breaks reading and writing flags to the old databases (and probably many other things aswell) - Don't use it git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2636 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-08Rewrote BuildStringList to use std::list instead of char**Adam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2632 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-02added a way to load multiple encryption modules at the same and to switch ↵DukePyrolator
between encryption methods git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2602 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-30Rewrote all of the defcon code, and moved most of it to os_defcon. This ↵Adam-
fixes defcon to have the ability to use modes introduced to Anope at a later time than on startup (eg, from the IRCd), amongst other things git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2597 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-25added options:enablelogchannel config file option, which turns on the ↵Adam-
logchannel on startup. yay! git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2585 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-13Code style cleanup, replace static_cast<std::string>() with std::string(), ↵cyberbotx
slight updates to config reader from InspIRCd. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2555 5417fbe8-f217-4b02-8779-1006273d7864
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