Robin Burchell w00t@inspircd.org
39eb13fbbb
Compress do_run_cmd() into mod_run_cmd().
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1595 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 16:37:19 +00:00
Robin Burchell w00t@inspircd.org
83539a90a9
Remove completely unused and quite duplicated run_cmd() vs mod_run_cmd().
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1594 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 16:31:13 +00:00
Robin Burchell w00t@inspircd.org
e701a1e2ad
Move more stuff to a module class.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1593 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 16:23:26 +00:00
Robin Burchell w00t@inspircd.org
876a2519d5
Note a TODO (permanent channels support) for insp12
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1592 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 02:02:56 +00:00
Robin Burchell w00t@inspircd.org
b2e7c7926b
Mark duplicate creation fixed, mark mod_current_* crap underway.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1591 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 02:00:17 +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
7bac547f55
Don't attempt to show module errors, these are now pretty much useless and replaced with ModuleException.. so.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1589 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 01:38:38 +00:00
Robin Burchell w00t@inspircd.org
3dd5c83486
Correct protocol module version - this is 1.2, not 1.1
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1588 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 01:31:43 +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
7571ca327e
moduleAddEventHook -> Module::AddEventHook, even though this seems to be unused..
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1586 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 01:25:59 +00:00
Robin Burchell w00t@inspircd.org
d2e5ef67e3
moduleInsertLanguage() -> Module::InsertLanguage()
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1585 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 01:13:19 +00:00
Robin Burchell w00t@inspircd.org
d5162d6e45
Fix various scary stuff to do with API.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1584 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 01:00:16 +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
7181dc35ce
Catch ModuleException thrown from module constructors, and halt load if one is recieved.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1582 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 00:42:55 +00:00
Robin Burchell w00t@inspircd.org
11a99c885a
Make the logging a bit less annoyingly insane.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1581 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 00:37:16 +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
68d0a515d0
Correct MODULE_INIT macro to account for new parameter.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1576 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 00:09:20 +00:00
Robin Burchell w00t@inspircd.org
ae6dd5d9c5
Last error fixes, more staticisation.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1575 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 00:07:24 +00:00
Robin Burchell w00t@inspircd.org
6adc4b6c61
Warning fixes. Staticise more of modules.c, and mark it for review.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1574 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 00:03:17 +00:00
Robin Burchell w00t@inspircd.org
ba73678ade
Reorganise some more of this, now makes more logical sense, and almost compiles (just some constification left).
...
NOTE: moduleCopyFile() is now local to modules.c (static), but that should not be an issue for any well-written client code.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1573 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-07 23:56:09 +00:00
Robin Burchell w00t@inspircd.org
95774907e1
Remove createModule stuff.. instead, pass string to loadModule. This still isn't compiling, but it's yet another step closer.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1572 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-07 23:52:29 +00:00
Robin Burchell w00t@inspircd.org
67b7ab7af6
Add another (modules related) TODO
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1571 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-07 23:37:05 +00:00
Robin Burchell w00t@inspircd.org
fb775c4559
Test commit.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1570 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-07 18:12:06 +00:00
Robin Burchell w00t@inspircd.org
2af64b0957
Lots more stuff to TODO.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1569 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-07 14:02:04 +00:00
Robin Burchell w00t@inspircd.org
9e9ec919ec
Add proper constructor, move Module::name to be string.. still doesn't compile, of course, as this still needs a lot more renovation.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1568 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-06 23:50:03 +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
a95a19faaf
Few features to TODO
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1566 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-06 22:02:50 +00:00
Robin Burchell w00t@inspircd.org
41b3b2636d
Mark this partly done.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1565 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-06 21:46:16 +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
32aa19dc87
Add CS SET INHABIT
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1563 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-06 20:56:21 +00:00
Robin Burchell w00t@inspircd.org
664aba5f39
Add more explicit notes on modules subsystem rewrite.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1562 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-06 19:24:23 +00:00
Robin Burchell w00t@inspircd.org
6946412b75
Remove unused mod_current_evtbuf.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1561 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-06 19:20:48 +00:00
Robin Burchell w00t@inspircd.org
b9aeca4708
Move createModule and destroyModule into constructor and destructor of class Module.
...
This won't yet compile, as a lot of stuff throws around newly initialised Module * for no reason, and this needs to change.
TODO:
- remove mod_current_* stuff
- remove module queueing (this will probably require a permanent module flag for os_modunload, but who cares).
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1560 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-06 15:48:55 +00:00
Robin Burchell w00t@inspircd.org
88f9975f40
Convert src/modules to use the new modules loader.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1559 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-05 20:20:28 +00:00
Robin Burchell w00t@inspircd.org
2ce8f4aea2
Convert protocol modules
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1558 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-05 00:23:58 +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
d54364d426
Add notes on pass encryption for 1.9.1
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1552 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-04 22:15:09 +00:00
Robin Burchell w00t@inspircd.org
3662c1bb23
Add modules to underway
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1551 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-04 22:11:49 +00:00
Robin Burchell w00t@inspircd.org
88338ac782
Add sockets to 1.9.2 target
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1550 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-04 22:11:06 +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
d4140b3c26
New MODULE_INIT macro. I'm going to regret this.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1546 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-04 20:28:49 +00:00