cyberbotx
|
c5b9eaeda0
|
Various fixes for compiling under Windows.
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-26 01:41:39 +00:00 |
|
cyberbotx
|
90f6431603
|
Fixed issue with nick changes showing the new nick as non-existing.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1796 5417fbe8-f217-4b02-8779-1006273d7864
|
2008-11-25 21:58:24 +00:00 |
|
cyberbotx
|
55b6e0438d
|
Used std::vector for MemoInfo's memos variable instead of an malloc'd array.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1795 5417fbe8-f217-4b02-8779-1006273d7864
|
2008-11-25 21:22:10 +00:00 |
|
cyberbotx
|
6faec5eb4a
|
Possible fix to the delete that explodes the world.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1794 5417fbe8-f217-4b02-8779-1006273d7864
|
2008-11-25 11:26:24 +00:00 |
|
cyberbotx
|
d2e3963d78
|
Fix another issue with writing channels in db-convert.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1793 5417fbe8-f217-4b02-8779-1006273d7864
|
2008-11-25 02:57:45 +00:00 |
|
rburchell
|
2557d0b091
|
Fix this, delete that explodes the world.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1792 5417fbe8-f217-4b02-8779-1006273d7864
|
2008-11-24 23:14:41 +00:00 |
|
rburchell
|
0779326cce
|
Off by one?
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1791 5417fbe8-f217-4b02-8779-1006273d7864
|
2008-11-24 21:49:11 +00:00 |
|
cyberbotx
|
e6acd6dc96
|
Fix issue with writing channels in db-convert.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1790 5417fbe8-f217-4b02-8779-1006273d7864
|
2008-11-23 22:49:32 +00:00 |
|
cyberbotx
|
f73beeefa2
|
Added small document explaining C++-style casting. Includes links to web pages explaining them as well.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1789 5417fbe8-f217-4b02-8779-1006273d7864
|
2008-11-23 19:12:29 +00:00 |
|
cyberbotx
|
8431ac369b
|
Converted many C-style casts to C++-style casts.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1788 5417fbe8-f217-4b02-8779-1006273d7864
|
2008-11-23 19:12:20 +00:00 |
|
rburchell
|
5950b11a0f
|
Fix example id
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1787 5417fbe8-f217-4b02-8779-1006273d7864
|
2008-11-23 17:53:51 +00:00 |
|
rburchell
|
379983726b
|
Various stuff for channels..
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1786 5417fbe8-f217-4b02-8779-1006273d7864
|
2008-11-23 17:53:29 +00:00 |
|
cyberbotx
|
bfedbe0370
|
Fixed a potential memory leak in the config parser.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1785 5417fbe8-f217-4b02-8779-1006273d7864
|
2008-11-22 18:24:20 +00:00 |
|
cyberbotx
|
fb5d7d1815
|
Properly initialized new objects when needed so they don't contain garbage data.
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-22 02:31:23 +00:00 |
|
cyberbotx
|
16e667a2ce
|
Replaced most uses of smalloc and scalloc with new, replaced most uses of 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-22 01:11:19 +00:00 |
|
rburchell
|
1532aa675f
|
Fix bug leading to only one core being correctly converted
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1782 5417fbe8-f217-4b02-8779-1006273d7864
|
2008-11-21 19:39:06 +00:00 |
|
rburchell
|
9aadd803eb
|
Finish a comment it seems I only ever half started
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1781 5417fbe8-f217-4b02-8779-1006273d7864
|
2008-11-21 18:11:05 +00:00 |
|
rburchell
|
becf84ee20
|
Don't send OPERTYPE for Services pseudoclients, this should not cause 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-21 17:58:09 +00:00 |
|
rburchell
|
e6dfa9cf53
|
Don't allow registration of nicks beginning with a digit on Insp12 (disallows UID registration)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1779 5417fbe8-f217-4b02-8779-1006273d7864
|
2008-11-21 17:33:10 +00:00 |
|
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 |
|