summaryrefslogtreecommitdiff
path: root/src/core/ms_read.c
AgeCommit message (Collapse)Author
2010-06-18Renamed all of source files from .c to .cppAdam
2010-06-18Removed process_numlist and having to mark everything as "in use" and ↵Adam
constantly checking it. Replaced with a better system.
2010-06-18Rewrote the hashing system to use std::tr1::unordered_mapAdam
2010-06-18Removed all references to $, git has no svn keywordsAdam
2010-06-18Made all modules version be VERSION_STRINGAdam
2010-04-30Fixed ms_rsend reply when sending a memo to a nickAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2924 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-04We now store a list of users using a NickCore in the NickCore, this prevents ↵Adam-
having to loop every user all the time to find them git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2780 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-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-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-12Made Command::Execute's params constAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2644 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-11Made Command::OnSyntaxError accept a subcommand parameter, we now give ↵Adam-
syntax error messages for subcommands (eg, cs_set) instead of giving the general syntax error for the main command git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2643 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-08Made the Module::ServHelp() functions part of the event systemAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2637 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-09-20Removed the file name arg from MODULE_INITAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2510 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-15Removed command position from Module::AddCommand(), it is no longer used ↵Adam-
because of OnPreCommand/OnPostCommand git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2505 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-25Changed params parameter of Command's Execute() from ↵cyberbotx
std::vector<std::string> to std::vector<ci::string>, seems to have no ill effects but may require some testing to be sure. Also a few minor cleanups here and there. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2392 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-24Changed subcommand parameter of Command's OnHelp() from std::string to ↵cyberbotx
ci::string, allows sub-help (like NS SET PASSWORD) to be called without requiring the subcommand to be sent by the user in all caps. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2391 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-06Made pre-command channel sanity checks only apply to ChanServ and BotServ. ↵adam-
Its not needed elsewhere and just causes issues git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2361 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-23Adds check for using commands on non-registered channels before the adam-
commands are called git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2336 5417fbe8-f217-4b02-8779-1006273d7864
2009-05-30Remove now unneeded checks for identified nick, patch by Adam.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2305 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-06Replace Set*Help() functions with virtual *ServHelp() functions that can be ↵cyberbotx
overriden in a module's Module class. Patch from Adam. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2266 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-03Fix bug #1045, patch from Adam, suspended channels can no longer be ↵cyberbotx
administered, and control over checking forbidden and suspended channels has been moved out of the modules and into the core. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2243 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15Remove User::na, use User::nc everywhere. Will probably break everything, ↵rburchell
but opens the door to decoupling NC from NA, and means commands can now be run without bothering about changinc nick :) More tweaking for na/nc usage. It compiles, but it's still a work in progress. Again, this compiles, but I *bet* there's no chance in hell it'll work. :) Slightly better. Set User::nc correctly. Fix crash with unregistered nicks in core and ns_access. Fix glist to work when you're not on that particular nick. Fix ns_set to not crash and burn horribly. Fix ns_set and ns_logout to not do bad things. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2076 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15Replaced notice_lang with notice_help in all OnHelp() functions in modules. ↵cyberbotx
Also fixed a few smaller issues regarding the help in the modules. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2053 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10Fix modules to use the right type (CommandReturn, not CommandResult)rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1977 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10NS_VERBOTEN -> NS_FORBIDDEN, CS_VERBOTEN -> CS_FORBIDDEN, etc.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1973 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-09Squashed commit: merge next (1.9.1) back to trunk.rburchell
SVN users, NOTE: THIS WILL NOT BUILD, NOR SHOULD YOU RUN IT YET. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1953 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-28Moved moduleSet*Help() functions to Module::Set*Help().cyberbotx
Also corrected a few issues with tabs in the help lines for non-core modules caused from the space->tab conversion a while back. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1804 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-26Various fixes for compiling under Windows.cyberbotx
Also updated ms_* modules to use std::vector Memo struct from earlier commit. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1797 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-14Insane commit of doom: s/ \t/grburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1681 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08Move moduleAddCommand and moduleDelCommand to Module:: members.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1597 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08moduleAddVersion -> Module::SetVersionRobin Burchell w00t@inspircd.org
moduleAddAuthor -> Module::SetAuthor git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1590 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08moduleSetType() -> Module::SetType().Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1583 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08Convert moduleSetType() to not require a module pointer.. actually, this is ↵Robin Burchell w00t@inspircd.org
probably the wrong way to go about this (we should use a member func), but who cares for now. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1580 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08Call the new base constructor too.. let's hope this all works?Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1578 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08Convert all the derived module constructors to take the new parameter (sed ↵Robin Burchell w00t@inspircd.org
must be worshipped). They still call the base constructor the wrong way. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1577 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-06Add module name to MODULE_INIT. This is not yet actually used, but it will ↵Robin Burchell w00t@inspircd.org
be soon.. >_> git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1567 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-04Convert MemoServ.. *weep*Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1555 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30Add MODULE_INIT to all modules, fix a few various crashes.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1273 5417fbe8-f217-4b02-8779-1006273d7864
2008-01-13BUILD : 1.7.21 (1345) BUGS : NOTES : Updated copyright information geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@1345 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1060 5417fbe8-f217-4b02-8779-1006273d7864
2007-08-26BUILD : 1.7.19 (1265) BUGS : NOTES : Updated copyright information geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@1265 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@983 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-17using svn commit to try and avoid indent bug thingrob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@800 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@557 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-02BUILD : 1.7.8 (753) BUGS : N/a NOTES : Merged anope-dev with trunk rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@753 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@516 5417fbe8-f217-4b02-8779-1006273d7864