Naram Qashat cyberbotx@cyberbotx.com
805efb9900
Started new mail block in new config, added usemail directive to it.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1620 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09 23:26:35 +00:00
Naram Qashat cyberbotx@cyberbotx.com
636548571e
Added logbot directive to networkinfo block in new config.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1618 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09 23:08:00 +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
df30d0bc2a
Move modules_core_init() to ModuleManager::LoadModuleList().
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1612 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09 03:11:54 +00:00
Robin Burchell w00t@inspircd.org
d353167118
Add module.cpp and modulemanager.cpp.
...
- module.cpp: contains (new/"good") code relating to modules. Crappy/stuff to be replaced will stay in modules.c
- modulemanager.cpp: contains stuff *manipulating* modules.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1611 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09 03:03:12 +00:00
Robin Burchell w00t@inspircd.org
b7d84f0b68
Remove moduleDataDebug().. debuggers are much more efficient at outputting crap than code is.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1610 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09 02:52:38 +00:00
Robin Burchell w00t@inspircd.org
04e2597df2
Merge prepForUnload with module destructor.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1609 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09 02:50:14 +00:00
Robin Burchell w00t@inspircd.org
0c5c97ba0e
Always UseSVS2MODE, too.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1606 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09 01:02:22 +00:00
Robin Burchell w00t@inspircd.org
b9d6279692
UseTokens needs to die in a fire, don't let it be turned off.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1605 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09 00:48:39 +00:00
Robin Burchell w00t@inspircd.org
a9fd3fd828
Merge modules_init() with modules_core_init().
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1604 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09 00:27:24 +00:00
Robin Burchell w00t@inspircd.org
2a2224023f
Remove ModulesDelayedAutoLoad.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1603 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09 00:20:33 +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
21d89df8dd
Same cleanups for help_cmd, mod_help_cmd, etc insanity.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1596 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 16:44:06 +00:00
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
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
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
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
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
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
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
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
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
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
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
667cf5f30f
Correct some docs.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1530 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-03 23:20:40 +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
5373ece555
Add UID parameter to SendClientIntroduction, and make it get a UID. This is a bit... ugly... but hey, if it works.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1514 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-03 21:12:10 +00:00
Robin Burchell w00t@inspircd.org
e4dfff282d
Remove IRCdProto::SendGuestNick(). It's identical to IRCdProto::SendClientIntroduction().
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1513 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-03 21:03:13 +00:00
Robin Burchell w00t@inspircd.org
fccc1c5577
Remove remnants of old protocol stuff from header.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1510 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-03 20:55:26 +00:00
Robin Burchell w00t@inspircd.org
90a104887f
Remove MARK_DEPRECATED from some stuff, it makes development a bit too noisy.
...
Fix a makefile I broke with SQL removal.
Add InspIRCd 1.2 module to build.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1507 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-03 20:42:30 +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
3d3b03fbc6
Added globalondefconmore directive to defcon block in new config.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1498 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-27 03:04:03 +00:00
Naram Qashat cyberbotx@cyberbotx.com
17fc564ce3
Added globalondefcon directive to defcon block in new config.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1497 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-27 01:08:42 +00:00
Naram Qashat cyberbotx@cyberbotx.com
eaf557fc86
Added timeout directive to defcon block in new config.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1496 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-27 01:05:53 +00:00
Naram Qashat cyberbotx@cyberbotx.com
0d02abf9a8
Added akillexpire directive to defcon block in new config.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1494 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-27 00:46:10 +00:00
Naram Qashat cyberbotx@cyberbotx.com
4ca6d14311
Added opersonly directive to operserv block in new config.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1490 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-26 20:28:48 +00:00
Naram Qashat cyberbotx@cyberbotx.com
77ae0ef75a
Added addakiller directive to operserv block in new config.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1489 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-26 20:26:34 +00:00