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

414 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 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
Naram Qashat cyberbotx@cyberbotx.com 495d5e534c Added sessionautokillexpiry directive to operserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1488 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-26 20:24:04 +00:00
Naram Qashat cyberbotx@cyberbotx.com bb22925ccf Added exceptionexpiry directive to operserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1484 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-26 20:08:06 +00:00
Naram Qashat cyberbotx@cyberbotx.com 314dbcd67e Added limitsessions directive to operserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1481 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-26 19:54:38 +00:00
Naram Qashat cyberbotx@cyberbotx.com 66ea87314c Added notifications directive to operserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1480 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-26 19:48:13 +00:00
Naram Qashat cyberbotx@cyberbotx.com 07824df829 Added disableraw directive to operserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1479 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-26 04:36:35 +00:00
Naram Qashat cyberbotx@cyberbotx.com 2df19fbcd7 Added killonsqline directive to operserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1478 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-26 04:33:40 +00:00
Naram Qashat cyberbotx@cyberbotx.com c49c0e5d6c Added killonsgline directive to operserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1477 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-26 04:31:18 +00:00
Naram Qashat cyberbotx@cyberbotx.com b6014ca8e5 Added akillonadd directive to operserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1476 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-25 21:07:54 +00:00
Naram Qashat cyberbotx@cyberbotx.com 9b109412df Added autokillexpiry, chankillexpiry, sglineexpiry, sqlineexpiry, and szlineexpiry directives to operserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1475 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-25 16:33:19 +00:00
Naram Qashat cyberbotx@cyberbotx.com 24b4a2cd87 Added logmaxusers directive to operserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1474 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-25 02:53:10 +00:00
Naram Qashat cyberbotx@cyberbotx.com 4818284fab Added superadmin directive to operserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1473 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-25 02:49:44 +00:00
Naram Qashat cyberbotx@cyberbotx.com 729ae0b417 Modified the Set() function in the character array version of ValueContainer to delete the old memory if the value is being reused, and to not allocate memory if there is no string to store.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1464 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-23 02:24:34 +00:00
Naram Qashat cyberbotx@cyberbotx.com 6fda7a0893 Added casesensitive directive to botserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1459 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-19 20:25:01 +00:00
Naram Qashat cyberbotx@cyberbotx.com a159b3b42f Added gentlebadwordreason directive to botserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1458 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-19 20:22:05 +00:00
Naram Qashat cyberbotx@cyberbotx.com b3fad6e271 Added smartjoin directive to botserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1457 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-19 20:19:17 +00:00
Naram Qashat cyberbotx@cyberbotx.com 6e943066a5 Added keepdata directive to botserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1456 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-19 20:15:20 +00:00
Naram Qashat cyberbotx@cyberbotx.com 9432f3f0e8 Started botserv block in new config, added nick and description directives.
Added ValidateBotServ function to validate certain BotServ directives only when BotServ is in use.
Added forward declaration of NickCore in account.h.


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1451 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-18 21:49:38 +00:00
Naram Qashat cyberbotx@cyberbotx.com fdea510668 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@1450 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-18 21:47:20 +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
Naram Qashat cyberbotx@cyberbotx.com 1acf87b4f0 Added notifyall directive to memoserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1447 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-14 03:41:36 +00:00
Naram Qashat cyberbotx@cyberbotx.com 523ed6dd70 Added senddelay directive to memoserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1446 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-14 03:38:59 +00:00
Naram Qashat cyberbotx@cyberbotx.com a2c896c775 Added opersonly directive to chanserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1443 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-13 23:33:33 +00:00
Naram Qashat cyberbotx@cyberbotx.com 7b8ada2efd Added restrictgetpass directive to chanserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1442 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-13 23:16:21 +00:00