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

5636 Commits

Author SHA1 Message Date
rburchell 36a896fba0 Remove unnecessary comment
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1778 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21 17:32:49 +00:00
rburchell a295adfb93 Retarget some more difficult things to post 1.9.0
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1777 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21 16:36:11 +00:00
rburchell 30c1a1d3e4 Write aliases and memo data in new DB format
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1776 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21 16:35:57 +00:00
rburchell d0d05dc98e Save the number of channels the account has registered, also
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1775 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21 11:03:00 +00:00
rburchell fd152875a5 Remove unused data/tables.sql
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1774 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21 11:02:44 +00:00
rburchell 69ffec087f Save memos and access in new db.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1773 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21 11:02:30 +00:00
rburchell 5a64d74e70 Cleanup of some comments and includes.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1772 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21 11:02:15 +00:00
rburchell 4c76e49100 Convert numeric language IDs to string IDs ("en", "fr", etc) in db converter, this will allow for less fragility (and removing languages that no longer exist), and so on.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1771 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21 10:16:45 +00:00
rburchell 6e54bbc507 Insp12: override SendGlobopsInternal to properly send GLOBOPS, also remove hard dependancy on m_globops by sending SNONOTICE A (notice to general oper snomask) if it is not loaded on the network.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1770 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21 09:55:57 +00:00
rburchell ab85c3fe9b Fix ident changing being broken
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1769 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21 09:55:32 +00:00
cyberbotx 84d9048b21 Cleanup in example.conf.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1768 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21 03:05:07 +00:00
cyberbotx e8d0d9fc4d Update TODO with regard to config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1767 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-20 03:42:58 +00:00
cyberbotx 04c8b28ae7 Removed some signed/unsigned comparison warnings.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1766 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-20 03:35:16 +00:00
cyberbotx b62f8b67f5 Changed integer config values that were marked PARAM_POSINT in the old config to unsigned integers.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1765 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-20 02:06:30 +00:00
cyberbotx fa82184d9c Removed old example.conf and replaced with example_new.conf, services.conf will now be read by the new parser and not services_new.conf
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1764 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-20 02:06:20 +00:00
rburchell 42fe52c078 Call find_byuid() if isdigit(*nick) and ircd->ts6 (most likely looking up a uid). Fixes insp12 stuff.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1763 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-20 00:11:45 +00:00
cyberbotx d1515210cf Moved include of configreader.h to stop undefined reference to strlcpy (needs testing).
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1762 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-20 00:05:38 +00:00
rburchell 5e78b4dc56 Commit WIP converter, by no means final, ugly, etc, please ignore this commit! :)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1761 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-19 23:24:34 +00:00
rburchell d3b2d4c5a4 Remove duplicated copy of binary_to_hex()
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1760 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-19 23:23:31 +00:00
rburchell ba20023fb4 Make this compile.. create NI_FORBIDDEN (temporary) and NI_NOEXPIRE to migrate settings.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1759 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-19 23:22:46 +00:00
rburchell 1a8633d81a Remove merging side of things.. we just want to plonk data in from one set of dbs.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1758 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-19 23:21:55 +00:00
rburchell 4506d0e05b Copy db-merger to db-convert.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1757 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-19 23:20:25 +00:00
cyberbotx 0f069f0e8b Converted modules to use ConfigReader to access new config parser.
Added all module directives to new config.
Removed references to old config parser (not sure if I got them all, though).

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1756 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-19 00:48:29 +00:00
cyberbotx 1a2fdff0c6 Added ConfigReader class from InspIRCd to be used in modules to read config files using the new config parser.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1755 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-18 23:58:33 +00:00
rburchell 4cd33b4290 Fix various shadowed warnings in db-merger, db-merger is about to become the basis for db-convert, because I'm lazy.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1753 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-18 19:24:03 +00:00
cyberbotx 57b115363c Removed autokilldatabase directive from operserv block as it is no longer in use with the removal of legacy database support.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1752 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-18 17:06:20 +00:00
rburchell 8f66ecfe0d Mark done
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1751 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-18 15:28:04 +00:00
rburchell 16321e7638 Remove an insane amount of backwards compatibility from database loading, this means that only latest DB versions will load, others will print an error.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1750 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-18 15:26:18 +00:00
rburchell a7e4a8e0fc Two items to TODO
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1749 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-18 15:25:58 +00:00
cyberbotx dbcc42e932 Added localhost and localport directives to serverinfo block in new config.
Removed some more MySQL references.
Added proper check for uplink block to make sure there is at least one defined.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1748 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-18 03:24:48 +00:00
rburchell b41009db5f Refactor nick enforcement to make a bit more sense.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1747 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-16 21:06:46 +00:00
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
cyberbotx 0db67c7938 Fix a few lines added/changed earlier to be the way they should be.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1744 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-16 02:20:12 +00:00
rburchell cbb6c43c7e Mark perm channels (partly) fixed. Proper fix will wait for 1.9.1.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1743 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-16 02:03:51 +00:00
rburchell 92280e7a25 Mark removal of UseTS6 and other options done.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1742 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-16 01:33:15 +00:00
rburchell aee9590287 Correct logic: don't allow UID init if IRCd does not support TS6
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1741 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-16 01:27:07 +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 69d5982adb Remove the MySQL related directives from the old config as MySQL has been ripped out of 1.9 for the time being.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1737 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 21:49:16 +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 77c47e06a8 Added newscount directive to options block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1735 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 21:48:55 +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 a5ef72b9b4 Added nickregdelay directive to options block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1733 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 21:48:33 +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
rburchell b9656d2e63 Add a few items to TODO
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1731 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 21:46:27 +00:00
robbeh c52f0e5cac Check for MOD_ERR_OK instead of any number - this will prevent getting an error message stright after a success message when a module was unloaded properly :)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1730 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 21:45:41 +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 f0fe5427ff Added globaloncycleup directive to options block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1728 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 21:20:13 +00:00