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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
robbeh
|
c968d32ee2
|
applied 1.8.0s fix for the /ns resend issue
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1698 5417fbe8-f217-4b02-8779-1006273d7864
|
2008-11-15 16:11:40 +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
|
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
|
069409cd99
|
- Remove ability to BOT CHANGE a core service client.
- Rewrite a lot of the error handling in here to be more readable, and less ircservices-y.
- Convert spaces to tabs.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1680 5417fbe8-f217-4b02-8779-1006273d7864
|
2008-11-14 20:49:21 +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
|
83e67af945
|
Remove an unused variable.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1674 5417fbe8-f217-4b02-8779-1006273d7864
|
2008-11-14 20:05:22 +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
|
f25ca483fa
|
Various small fixes, part #2.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1670 5417fbe8-f217-4b02-8779-1006273d7864
|
2008-11-14 20:03:07 +00:00 |
|
rburchell
|
295599ab2c
|
Fix potential format vulnerability.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1669 5417fbe8-f217-4b02-8779-1006273d7864
|
2008-11-14 20:02:39 +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
|
40839766c2
|
made the use of run-cc.pl optional, if you dont want to use it, add --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-13 20:28:40 +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
|
1072827648
|
Move moduleAddCommand and moduleDelCommand to Module:: members.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1597 5417fbe8-f217-4b02-8779-1006273d7864
|
2008-11-08 17:00:55 +00:00 |
|
Robin Burchell w00t@inspircd.org
|
1c3b8e15c2
|
moduleAddVersion -> Module::SetVersion
moduleAddAuthor -> Module::SetAuthor
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1590 5417fbe8-f217-4b02-8779-1006273d7864
|
2008-11-08 01:54:17 +00:00 |
|
Robin Burchell w00t@inspircd.org
|
26cdf257cc
|
moduleAddEventHook -> Module::AddEventHook.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1587 5417fbe8-f217-4b02-8779-1006273d7864
|
2008-11-08 01:30:43 +00:00 |
|
Robin Burchell w00t@inspircd.org
|
7ac7c564f5
|
moduleSetType() -> Module::SetType().
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1583 5417fbe8-f217-4b02-8779-1006273d7864
|
2008-11-08 00:48:04 +00:00 |
|
Robin Burchell w00t@inspircd.org
|
d18d3f094c
|
Convert moduleSetType() to not require a module pointer.. actually, this is 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-08 00:34:29 +00:00 |
|
Robin Burchell w00t@inspircd.org
|
b8c04482bb
|
This compiles. I have absolutely no idea if it works.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1579 5417fbe8-f217-4b02-8779-1006273d7864
|
2008-11-08 00:21:29 +00:00 |
|
Robin Burchell w00t@inspircd.org
|
e459e5833e
|
Call the new base constructor too.. let's hope this all works?
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1578 5417fbe8-f217-4b02-8779-1006273d7864
|
2008-11-08 00:14:35 +00:00 |
|
Robin Burchell w00t@inspircd.org
|
8d4789efaa
|
Convert all the derived module constructors to take the new parameter (sed 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-08 00:12:54 +00:00 |
|
Robin Burchell w00t@inspircd.org
|
4171f140c2
|
Add module name to MODULE_INIT. This is not yet actually used, but it will be soon.. >_>
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1567 5417fbe8-f217-4b02-8779-1006273d7864
|
2008-11-06 22:48:59 +00:00 |
|
Robin Burchell w00t@inspircd.org
|
2644f79301
|
Remove queueing on module load/unload, NOTE: don't try unload os_modunload, otherwise things probably won't go too well right now.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1564 5417fbe8-f217-4b02-8779-1006273d7864
|
2008-11-06 21:45:10 +00:00 |
|
Robin Burchell w00t@inspircd.org
|
3bc401a130
|
Convert OperServ. YES, src/core done.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1557 5417fbe8-f217-4b02-8779-1006273d7864
|
2008-11-05 00:17:27 +00:00 |
|
Robin Burchell w00t@inspircd.org
|
e47d169f49
|
Convert NickServ
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1556 5417fbe8-f217-4b02-8779-1006273d7864
|
2008-11-04 23:40:37 +00:00 |
|
Robin Burchell w00t@inspircd.org
|
032e327fcf
|
Convert MemoServ.. *weep*
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1555 5417fbe8-f217-4b02-8779-1006273d7864
|
2008-11-04 22:40:47 +00:00 |
|
Robin Burchell w00t@inspircd.org
|
e1344b1cab
|
Convert HelpServ (useless crap..) and HostServ.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1554 5417fbe8-f217-4b02-8779-1006273d7864
|
2008-11-04 22:28:32 +00:00 |
|
Robin Burchell w00t@inspircd.org
|
7affa0982a
|
Convert encryption modules.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1553 5417fbe8-f217-4b02-8779-1006273d7864
|
2008-11-04 22:19:15 +00:00 |
|
Robin Burchell w00t@inspircd.org
|
ef85ab7a4f
|
Convert all of ChanServ. I feel like Rob mkII!
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1549 5417fbe8-f217-4b02-8779-1006273d7864
|
2008-11-04 22:07:18 +00:00 |
|
Robin Burchell w00t@inspircd.org
|
bc61c4661b
|
Convert all of core/bs_* to use classes for init..
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1548 5417fbe8-f217-4b02-8779-1006273d7864
|
2008-11-04 21:03:14 +00:00 |
|
Robin Burchell w00t@inspircd.org
|
8b20a049b4
|
One compiles, oh my!
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1547 5417fbe8-f217-4b02-8779-1006273d7864
|
2008-11-04 20:35:04 +00:00 |
|
Robin Burchell w00t@inspircd.org
|
c6e4c00e7a
|
Disallow deletion of core services.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1532 5417fbe8-f217-4b02-8779-1006273d7864
|
2008-11-03 23:35:06 +00:00 |
|
Robin Burchell w00t@inspircd.org
|
bcff05ae3a
|
Consolidate modes: we really don't need to have a different one for every pseudoclient.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1531 5417fbe8-f217-4b02-8779-1006273d7864
|
2008-11-03 23:29:39 +00:00 |
|
Robin Burchell w00t@inspircd.org
|
16a90d28f6
|
Undo me smoking a nice pipe of craq on UID support (no wonder this wasn't working), and fix findbot() to do what we want.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1524 5417fbe8-f217-4b02-8779-1006273d7864
|
2008-11-03 22:30:33 +00:00 |
|
Robin Burchell w00t@inspircd.org
|
eda1fca43e
|
Merge commit 'trunk' into anopeng (1.8 updates, etc)
Conflicts:
src/main.c
src/mysql.c
version.log
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1504 5417fbe8-f217-4b02-8779-1006273d7864
|
2008-11-03 00:01:19 +00:00 |
|
Robin Burchell w00t@inspircd.org
|
ec9dafb778
|
Rip out SQL. It's utterly useless in current implementation.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1502 5417fbe8-f217-4b02-8779-1006273d7864
|
2008-11-02 23:50:53 +00:00 |
|
Naram Qashat cyberbotx@cyberbotx.com
|
eef1d4d691
|
Merge branch 'anopeng-config' of http://git.inspircd.org/git/anope/ into anopeng-config
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1449 5417fbe8-f217-4b02-8779-1006273d7864
|
2008-10-15 02:57:50 +00:00 |
|
Robin Burchell w00t@inspircd.org
|
3324e62bae
|
Merge branch 'anopeng' into anopeng-config
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1428 5417fbe8-f217-4b02-8779-1006273d7864
|
2008-10-07 23:38:25 +00:00 |
|
Naram Qashat cyberbotx@cyberbotx.com
|
2726877999
|
Merge branch 'anopeng' into anopeng-config
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1420 5417fbe8-f217-4b02-8779-1006273d7864
|
2008-10-05 02:24:39 +00:00 |
|
Robin Burchell w00t@inspircd.org
|
f09953561b
|
Merge commit 'cbx/anopeng-charfix' into anopeng
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1408 5417fbe8-f217-4b02-8779-1006273d7864
|
2008-10-03 17:37:45 +00:00 |
|
Robin Burchell w00t@inspircd.org
|
968616980c
|
Merge commit 'cbx/anopeng-uid' into anopeng-uid
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1395 5417fbe8-f217-4b02-8779-1006273d7864
|
2008-10-03 08:00:31 +00:00 |
|