1
0
mirror of https://github.com/anope/anope.git synced 2026-06-23 07:06:38 +02:00
Commit Graph

482 Commits

Author SHA1 Message Date
cyberbotx ffbcff1604 Added support for multiple uplink blocks in the new config.
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-16 19:31:31 +00:00
cyberbotx 72a4c7e6c7 Added module blocks for autoloading non-core modules.
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-16 17:44:35 +00:00
rburchell 1d45a53fa2 Remove UseTS6. This is now on or off at an ircd, not a config level. Move 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-16 01:26:47 +00:00
rburchell 61f2ce9a41 Enable SVSHOLD for Insp1.1/1.2, remove UseSVSHOLD. Enforcer support may go 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-16 00:56:47 +00:00
rburchell 01806ba861 Remove UnRestrictSAdmin.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1738 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-16 00:56:17 +00:00
cyberbotx 8131ca2c98 Added ulineservers directive to options block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1736 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 21:49:07 +00:00
cyberbotx 561096f729 Added restrictopernicks directive to options block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1734 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 21:48:44 +00:00
cyberbotx 45e9c393df Added anonymousglobal directive to options block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1732 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 21:48:20 +00:00
robbeh 2d768eb325 Modules now delete themselves instead of letting the core do it (just incase one of them has used a custom delete operator)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1729 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 21:25:40 +00:00
cyberbotx e696a843fc Added globaloncycle directive to options block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1726 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 21:19:50 +00:00
cyberbotx 78b1bc9b0a Added hidestatso directive to options block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1725 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 21:19:38 +00:00
cyberbotx dd4069b504 Added dumpcore and logusers directives to options block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1724 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 21:19:28 +00:00
cyberbotx dc2176560d Added usestrictprivmsg directive to options block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1723 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 20:39:49 +00:00
cyberbotx 2aff20acc0 Added useprivmsg directive to options block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1722 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 20:39:37 +00:00
cyberbotx db43487faf Added forceforbidreason directive to options block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1721 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 20:39:20 +00:00
rburchell 372c9add36 Add newline
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1718 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 19:36:15 +00:00
rburchell 5e38abcccc Add forgotten new header.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1717 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 19:32:36 +00:00
cyberbotx 28a7779174 Added timeoutcheck directive to options block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1715 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 19:15:06 +00:00
cyberbotx 2e9f890978 Added warningtimeout directive to options block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1714 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 19:14:43 +00:00
cyberbotx 4ed52553b0 Added readtimeout directive to options block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1713 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 19:14:23 +00:00
cyberbotx 486097e27b Added expiretimeout directive to options block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1712 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 19:14:05 +00:00
cyberbotx 5fa7475f65 Added updatetimeout directive to options block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1711 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 19:13:44 +00:00
cyberbotx ec8fd88965 Added badpasstimeout directive to options block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1710 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 19:13:26 +00:00
rburchell 8784fa995e Remove moduleAddData|GetData|DelData and all associated mess. Extensible base replaces all this in a much cleaner and more transparent fashion.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1706 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 17:56:39 +00:00
rburchell b2b0e1d235 Create and use constructors for NickInfo, NickAlias, ChannelInfo. Inherit all three from Extensible. Convert to use that instead of moduleData stuff.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1705 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 17:55:55 +00:00
rburchell 5384c97c14 Revert "Clarify some casts to stop warnings on some compilers"
This reverts commit 9ea4d55da11a3c485e08bcfbfb13320086621683.

This seems to cause problems.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1704 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 17:55:22 +00:00
cyberbotx 55e9bf5aea Added strictpasswords directive to options block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1703 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 17:52:45 +00:00
cyberbotx 12b60a78ff Added nobackupokay directive to options block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1702 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 17:52:36 +00:00
cyberbotx a5eb22efd8 Added userkey[123] directives to options block in new config.
Added ValueContainerLUInt specialization of ValueContainer for the above directives.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1701 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 17:52:23 +00:00
rburchell 2da462ba97 Add Extensible class, which we will use for metadata, derive class User from it as a compile test.
Thanks to Insp for this code.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1699 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 16:21:19 +00:00
rburchell dde05e96cf Remove Message::mod_name, modules cannot own ircd messages any more (this means everything at protocol level is handled *at protocol level only*, which is good). Also merge callback stuff in with Module class, removing more mod_current_ usage.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1696 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 15:46:25 +00:00
rburchell 73f4cccf99 Remove unused moduleAddMessage/moduleDelMessage, move moduleCallBackRun() into ModuleManager::
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1695 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 15:45:27 +00:00
rburchell 2145e97d70 Clarify some casts to stop warnings on some compilers
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1694 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 15:07:38 +00:00
rburchell 1da6b93633 Nuke eventprintf() and EvtMessage from orbit
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1691 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 12:51:03 +00:00
rburchell 3fce6d680d Remove src/modules/demos, we've sufficient (real world) demos now, and some of these are quite out of date.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1690 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 12:50:32 +00:00
rburchell 83a7ad7480 Fix load error on protocol modules. Rob, you forgot to add a body to your virtual destructor. :)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1685 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 00:13:26 +00:00
rburchell 094688603f Cleanup some stuff to a header.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1683 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 00:12:54 +00:00
rburchell 6c55e0a529 Insane commit of doom: s/ \t/g
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1681 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-14 20:57:20 +00:00
rburchell bb47ab8f41 Add Module::SetPermanent() and Module::GetPermanent(), used to mark a module as not unloadable.
Used for os_modunload, as unloading it would cause issues.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1679 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-14 20:28:23 +00:00
rburchell f75ebf8d0d Small miscellaneous fixes, pt 3.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1671 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-14 20:03:43 +00:00
rburchell e289e5ade0 Various small warning fixes.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1668 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-14 20:02:06 +00:00
robbeh 6321db16cf Fixed a few annoying compile warnings
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1664 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-13 21:38:48 +00:00
Naram Qashat cyberbotx@cyberbotx.com 359e7ebdef Added dontquoteaddresses directive to mail block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1626 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09 23:55:49 +00:00
Naram Qashat cyberbotx@cyberbotx.com 2b07bdbf2f Added delay directive to mail block in new config.
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-09 23:52:14 +00:00
Naram Qashat cyberbotx@cyberbotx.com 1a89f2475c Added restrictmail directive in mail block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1624 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09 23:47:54 +00:00
Naram Qashat cyberbotx@cyberbotx.com 805efb9900 Started new mail block in new config, added usemail directive to it.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1620 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09 23:26:35 +00:00
Naram Qashat cyberbotx@cyberbotx.com 636548571e Added logbot directive to networkinfo block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1618 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09 23:08:00 +00:00
Robin Burchell w00t@inspircd.org 649a12c07f addModule + delModule compressed into constructor/destructor.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1615 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09 19:03:56 +00:00
Robin Burchell w00t@inspircd.org 65fd49d362 Move loadModule() and unloadModule() inside ModuleManager::
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1614 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09 16:56:54 +00:00
Robin Burchell w00t@inspircd.org df30d0bc2a Move modules_core_init() to ModuleManager::LoadModuleList().
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1612 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09 03:11:54 +00:00