summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-25Fixed issue with nick changes showing the new nick as non-existing.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1796 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-25Used std::vector for MemoInfo's memos variable instead of an malloc'd array.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1795 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-25Possible fix to the delete that explodes the world.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1794 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-25Fix another issue with writing channels in db-convert.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1793 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-24Fix this, delete that explodes the world.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1792 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-24Off by one?rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1791 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-23Fix issue with writing channels in db-convert.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1790 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-23Converted many C-style casts to C++-style casts.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1788 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-23Various stuff for channels..rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1786 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-22Fixed a potential memory leak in the config parser.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1785 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-22Properly initialized new objects when needed so they don't contain garbage data.cyberbotx
Also, converted line endings in os_ignore_db from CR+LF to LF. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1784 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-22Replaced most uses of smalloc and scalloc with new, replaced most uses of ↵cyberbotx
free with delete. NOTE: This build is unstable due to lack of memory zeroing, this will be addresses in a future commit. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1783 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21Fix bug leading to only one core being correctly convertedrburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1782 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21Finish a comment it seems I only ever half startedrburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1781 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21Don't send OPERTYPE for Services pseudoclients, this should not cause ↵rburchell
problems as services are remote users, and should gain less spam on services connecting, and no need to fiddle with /lusers counts. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1780 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21Don't allow registration of nicks beginning with a digit on Insp12 ↵rburchell
(disallows UID registration) git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1779 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21Remove unnecessary commentrburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1778 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21Write aliases and memo data in new DB formatrburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1776 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21Save the number of channels the account has registered, alsorburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1775 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21Save memos and access in new db.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1773 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21Cleanup of some comments and includes.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1772 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21Convert numeric language IDs to string IDs ("en", "fr", etc) in db ↵rburchell
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-21Insp12: override SendGlobopsInternal to properly send GLOBOPS, also remove ↵rburchell
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-21Fix ident changing being brokenrburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1769 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-20Removed some signed/unsigned comparison warnings.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1766 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-20Changed integer config values that were marked PARAM_POSINT in the old ↵cyberbotx
config to unsigned integers. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1765 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-20Removed old example.conf and replaced with example_new.conf, services.conf ↵cyberbotx
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-20Call find_byuid() if isdigit(*nick) and ircd->ts6 (most likely looking up a ↵rburchell
uid). Fixes insp12 stuff. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1763 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-19Commit WIP converter, by no means final, ugly, etc, please ignore this ↵rburchell
commit! :) git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1761 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-19Remove duplicated copy of binary_to_hex()rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1760 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-19Make this compile.. create NI_FORBIDDEN (temporary) and NI_NOEXPIRE to ↵rburchell
migrate settings. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1759 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-19Remove merging side of things.. we just want to plonk data in from one set ↵rburchell
of dbs. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1758 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-19Copy db-merger to db-convert.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1757 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-19Converted modules to use ConfigReader to access new config parser.cyberbotx
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-18Added ConfigReader class from InspIRCd to be used in modules to read config ↵cyberbotx
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-18Fix various shadowed warnings in db-merger, db-merger is about to become the ↵rburchell
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-18Removed autokilldatabase directive from operserv block as it is no longer in ↵cyberbotx
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-18Remove an insane amount of backwards compatibility from database loading, ↵rburchell
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-18Added localhost and localport directives to serverinfo block in new config.cyberbotx
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-16Refactor nick enforcement to make a bit more sense.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1747 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-16Added support for multiple uplink blocks in the new config.cyberbotx
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-16Added module blocks for autoloading non-core modules.cyberbotx
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-16Fix a few lines added/changed earlier to be the way they should be.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1744 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-16Mark perm channels (partly) fixed. Proper fix will wait for 1.9.1.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1743 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-16Correct logic: don't allow UID init if IRCd does not support TS6rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1741 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-16Remove UseTS6. This is now on or off at an ircd, not a config level. Move ↵rburchell
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-16Enable SVSHOLD for Insp1.1/1.2, remove UseSVSHOLD. Enforcer support may go ↵rburchell
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-16Remove UnRestrictSAdmin.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1738 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15Remove the MySQL related directives from the old config as MySQL has been ↵cyberbotx
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