summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2008-11-14Various small fixes, part #2.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1670 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-14Fix potential format vulnerability.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1669 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-14Various small warning fixes.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1668 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-13Fixed a few annoying compile warningsrobbeh
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1664 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-13made the use of run-cc.pl optional, if you dont want to use it, add ↵robbeh
--with-makebin="" to the ./configure line. This is very useful for IDEs which parse the gcc output and let you just click on errors, like eclipse and kdevelop :) git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1662 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09Added dontquoteaddresses directive to mail block in new config.Naram Qashat cyberbotx@cyberbotx.com
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1626 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09Added delay directive to mail block in new config.Naram Qashat cyberbotx@cyberbotx.com
Renamed restrictmail to restrict in mail block. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1625 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09Added restrictmail directive in mail block in new config.Naram Qashat cyberbotx@cyberbotx.com
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1624 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09Added sendfrom directive to mail block in new config.Naram Qashat cyberbotx@cyberbotx.com
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1623 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09Added sendmailpath directive to mail block in new config.Naram Qashat cyberbotx@cyberbotx.com
Added ValidateMail function to validate certain mail block config directives only when usemail is enabled. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1622 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09Added nicklen directive to networkinfo block in new config.Naram Qashat cyberbotx@cyberbotx.com
Added ValidateNickLen function for the above directive. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1621 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09Started new mail block in new config, added usemail directive to it.Naram Qashat cyberbotx@cyberbotx.com
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1620 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09Added networkname directive to networkinfo block in new config.Naram Qashat cyberbotx@cyberbotx.com
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1619 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09Added logbot directive to networkinfo block in new config.Naram Qashat cyberbotx@cyberbotx.com
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1618 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09Added logchannel directive to networkinfo block in new config.Naram Qashat cyberbotx@cyberbotx.com
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1617 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09Started new networkinfo block in new config, added helpchannel directive to it.Naram Qashat cyberbotx@cyberbotx.com
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1616 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09addModule + delModule compressed into constructor/destructor.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1615 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09Move loadModule() and unloadModule() inside ModuleManager::Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1614 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09Move modules_core_init() to ModuleManager::LoadModuleList().Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1612 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09Add module.cpp and modulemanager.cpp.Robin Burchell w00t@inspircd.org
- module.cpp: contains (new/"good") code relating to modules. Crappy/stuff to be replaced will stay in modules.c - modulemanager.cpp: contains stuff *manipulating* modules. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1611 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09Remove moduleDataDebug().. debuggers are much more efficient at outputting ↵Robin Burchell w00t@inspircd.org
crap than code is. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1610 5417fbe8-f217-4b02-8779-1006273d7864
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-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-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-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-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-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