1
0
mirror of https://github.com/anope/anope.git synced 2026-06-25 17:26:37 +02:00
Commit Graph

1158 Commits

Author SHA1 Message Date
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 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 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 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 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 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 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 140b2d559c Move 'Numeric' to <uplink:id>, is this the best place, though?
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1538 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-04 11:20:26 +00:00
Robin Burchell w00t@inspircd.org b60ce5a08a Remove space that broke the build again (fuck makefiles)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1535 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-04 11:00:06 +00:00
Robin Burchell w00t@inspircd.org 7ab33148ff This isn't showing up on diff, but it seems it's wrong on checkout?
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1534 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-04 10:44:16 +00:00
Robin Burchell w00t@inspircd.org 1d546a04e6 Experimental fixes (that don't seem to work) to the server problem.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1533 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-04 10:21:16 +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 87749d06dd Make whois reply come from the correct service.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1529 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-03 23:17:43 +00:00
Robin Burchell w00t@inspircd.org 72b8b7f422 Don't crash on channel messages.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1528 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-03 23:10:33 +00:00
Robin Burchell w00t@inspircd.org d977211ac0 Fix FJOIN sending.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1527 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-03 22:53:17 +00:00
Robin Burchell w00t@inspircd.org d3d0bf2d61 Fix notices going to nicks instead of UIDs depending on protocol
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1526 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-03 22:47:49 +00:00
Robin Burchell w00t@inspircd.org 68bb357a61 Make FJOIN parsing work.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1525 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-03 22:41:00 +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 dc44944c71 Make user detection work properly (parse UID without problems)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1523 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-03 22:16:53 +00:00
Robin Burchell w00t@inspircd.org c27c424b04 Remove (useless) +s from bot umodes, as it breaks protocol (no params, required) and is unnecessary anyway.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1522 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-03 22:01:42 +00:00