summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-11-09Merge prepForUnload with module destructor.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1609 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09- Remove redundant ano_modclose(), this is done in module destructor anywayRobin Burchell w00t@inspircd.org
- Remove old AnopeFini stuff, this is now handled by module destructors. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1608 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09Update TODORobin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1607 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09Always UseSVS2MODE, too.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1606 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09UseTokens needs to die in a fire, don't let it be turned off.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1605 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09Merge modules_init() with modules_core_init().Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1604 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09Remove ModulesDelayedAutoLoad.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1603 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08Remove duplication..Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1602 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08Fix segfault when a module throws an exception.Naram Qashat cyberbotx@cyberbotx.com
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1601 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08A few compile fixes for protocol modules.Naram Qashat cyberbotx@cyberbotx.com
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1600 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08Update TODORobin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1599 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08Merge commit 'cbx/anopeng-config' into anopengRobin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1598 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-08Same cleanups for help_cmd, mod_help_cmd, etc insanity.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1596 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08Compress do_run_cmd() into mod_run_cmd().Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1595 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08Remove completely unused and quite duplicated run_cmd() vs mod_run_cmd().Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1594 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08Move more stuff to a module class.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1593 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08Note a TODO (permanent channels support) for insp12Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1592 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08Mark duplicate creation fixed, mark mod_current_* crap underway.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1591 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-08Don't attempt to show module errors, these are now pretty much useless and ↵Robin Burchell w00t@inspircd.org
replaced with ModuleException.. so. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1589 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08Correct protocol module version - this is 1.2, not 1.1Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1588 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08moduleAddEventHook -> Module::AddEventHook.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1587 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08moduleAddEventHook -> Module::AddEventHook, even though this seems to be ↵Robin Burchell w00t@inspircd.org
unused.. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1586 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08moduleInsertLanguage() -> Module::InsertLanguage()Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1585 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08Fix various scary stuff to do with API.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1584 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-08Catch ModuleException thrown from module constructors, and halt load if one ↵Robin Burchell w00t@inspircd.org
is recieved. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1582 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08Make the logging a bit less annoyingly insane.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1581 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-08This compiles. I have absolutely no idea if it works.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1579 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-08Correct MODULE_INIT macro to account for new parameter.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1576 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08Last error fixes, more staticisation.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1575 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08Warning fixes. Staticise more of modules.c, and mark it for review.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1574 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-07Reorganise some more of this, now makes more logical sense, and almost ↵Robin Burchell w00t@inspircd.org
compiles (just some constification left). NOTE: moduleCopyFile() is now local to modules.c (static), but that should not be an issue for any well-written client code. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1573 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-07Remove createModule stuff.. instead, pass string to loadModule. This still ↵Robin Burchell w00t@inspircd.org
isn't compiling, but it's yet another step closer. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1572 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-07Add another (modules related) TODORobin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1571 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-07Test commit.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1570 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-07Lots more stuff to TODO.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1569 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-06Add proper constructor, move Module::name to be string.. still doesn't ↵Robin Burchell w00t@inspircd.org
compile, of course, as this still needs a lot more renovation. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1568 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-06Few features to TODORobin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1566 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-06Mark this partly done.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1565 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-06Remove queueing on module load/unload, NOTE: don't try unload os_modunload, ↵Robin Burchell w00t@inspircd.org
otherwise things probably won't go too well right now. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1564 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-06Add CS SET INHABITRobin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1563 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-06Add more explicit notes on modules subsystem rewrite.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1562 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-06Remove unused mod_current_evtbuf.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1561 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-06Move createModule and destroyModule into constructor and destructor of class ↵Robin Burchell w00t@inspircd.org
Module. This won't yet compile, as a lot of stuff throws around newly initialised Module * for no reason, and this needs to change. TODO: - remove mod_current_* stuff - remove module queueing (this will probably require a permanent module flag for os_modunload, but who cares). git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1560 5417fbe8-f217-4b02-8779-1006273d7864