1
0
mirror of https://github.com/anope/anope.git synced 2026-07-01 19:46:38 +02:00
Commit Graph

1145 Commits

Author SHA1 Message Date
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
Robin Burchell w00t@inspircd.org 30031e6ea5 Correctly save Numeric to TS6SID.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1521 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-03 21:59:38 +00:00
Robin Burchell w00t@inspircd.org 1886c72d7a Revert "Add <server:sid>, since nothing seems to set it."
This reverts commit fb1095c0157f0c974290de82bd73858c5c4e077e.


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1520 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-03 21:58:45 +00:00
Robin Burchell w00t@inspircd.org 6e4ea98376 Add <server:sid>, since nothing seems to set it.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1519 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-03 21:48:48 +00:00
Robin Burchell w00t@inspircd.org 2e7304b170 Look for the correct services module (they got merged with 1.2)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1518 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-03 21:39:01 +00:00
Robin Burchell w00t@inspircd.org 1a0ccfed14 Fix a random segfault (no idea how BSFantasyChar is NULL, CBX, this will be config related, please examine).
Also fix: for some reason, using dynamic_cast() instead of a C-style cast here explodes, CBX?


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1517 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-03 21:37:51 +00:00
Robin Burchell w00t@inspircd.org bab1b193f8 Various bits of protocol conversion.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1516 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-03 21:24:32 +00:00
Robin Burchell w00t@inspircd.org bb9be2a6b5 Fix order of UID params for client introduction
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1515 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-03 21:14:46 +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 c31f6498c3 Fix shadowed declaration warning.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1512 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-03 20:57:09 +00:00
Robin Burchell w00t@inspircd.org 7ca209976d Remove some aspects of overly defensive programming from 1.2 protocol module, remove PROTOCTL stub from 1.1 and 1.2 modules.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1511 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-03 20:56:07 +00:00
Robin Burchell w00t@inspircd.org 775a225a25 Make this compile.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1509 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-03 20:50:38 +00:00
Robin Burchell w00t@inspircd.org cdd6493893 Really add it to the build.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1508 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-03 20:46:49 +00:00