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

212 Commits

Author SHA1 Message Date
cyberbotx ffbcff1604 Added support for multiple uplink blocks in the new config.
Moved the type and id directives from the uplink block to the serverinfo block.
Small config fixes.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1746 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-16 19:31:31 +00:00
rburchell 1d45a53fa2 Remove UseTS6. This is now on or off at an ircd, not a config level. Move Chary to obsolete for now, it's identical to ratbox anyway in most regards, and it's getting annoying having to redo the same work twice..
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1740 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-16 01:26:47 +00:00
robbeh 2d768eb325 Modules now delete themselves instead of letting the core do it (just incase one of them has used a custom delete operator)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1729 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 21:25:40 +00:00
rburchell 8784fa995e Remove moduleAddData|GetData|DelData and all associated mess. Extensible base replaces all this in a much cleaner and more transparent fashion.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1706 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 17:56:39 +00:00
rburchell b2b0e1d235 Create and use constructors for NickInfo, NickAlias, ChannelInfo. Inherit all three from Extensible. Convert to use that instead of moduleData stuff.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1705 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 17:55:55 +00:00
rburchell 2da462ba97 Add Extensible class, which we will use for metadata, derive class User from it as a compile test.
Thanks to Insp for this code.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1699 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 16:21:19 +00:00
rburchell 83a7ad7480 Fix load error on protocol modules. Rob, you forgot to add a body to your virtual destructor. :)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1685 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 00:13:26 +00:00
rburchell 6c55e0a529 Insane commit of doom: s/ \t/g
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1681 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-14 20:57:20 +00:00
robbeh 6321db16cf Fixed a few annoying compile warnings
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1664 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-13 21:38:48 +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 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 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 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 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 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
Robin Burchell w00t@inspircd.org 2b0e9c3f5f Merge commit 'cbx/anopeng-config' into anopeng-config
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1429 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-13 12:32:37 +00:00
Robin Burchell w00t@inspircd.org 3324e62bae Merge branch 'anopeng' into anopeng-config
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1428 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-07 23:38:25 +00:00
Naram Qashat cyberbotx@cyberbotx.com 728fe3e1d4 Removed DevNull pseudo-client as well as all *Alias pseudo-clients.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1427 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-05 22:12:22 +00:00
Robin Burchell w00t@inspircd.org f09953561b Merge commit 'cbx/anopeng-charfix' into anopeng
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1408 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-03 17:37:45 +00:00
Robin Burchell w00t@inspircd.org 968616980c Merge commit 'cbx/anopeng-uid' into anopeng-uid
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1395 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-03 08:00:31 +00:00
Robin Burchell w00t@inspircd.org 797bdccb9b Merge branch 'anopeng' into anopeng-uid
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1394 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-03 00:11:57 +00:00
Robin Burchell w00t@inspircd.org a95e4f7fce Hack making enforcers work for now, NOTE: it is MARK_DEPRECATED. Use it in new code and I will kill you.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1377 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 23:21:03 +00:00
Robin Burchell w00t@inspircd.org 5ffdc4638d Start making some stuff compile with the modified protocol signatures
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1369 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 23:01:12 +00:00
Robin Burchell w00t@inspircd.org dacff07988 Change protocol func signatures. These are FINAL, do NOT use string sources any more. Pass pointers to BotInfo. (CBX, pull this before continuing on, I had to change *one* function below where you were to get it to compile(ish). Very minor change though)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1368 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 22:48:09 +00:00
Robin Burchell w00t@inspircd.org fbfb380eb5 Compile error, missing semicolon in header.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1367 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 22:34:20 +00:00
Naram Qashat cyberbotx@cyberbotx.com 6395adff79 Replaced anope_SendSVSMode_chan() with direct call to SendSVSModeChan() in IRCDProto class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1363 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 22:01:18 +00:00
Naram Qashat cyberbotx@cyberbotx.com 77af53f647 Replaced anope_SendSVSHoldDel() with direct call to SendSVSHoldDel() in IRCDProto class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1357 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 21:53:20 +00:00
Naram Qashat cyberbotx@cyberbotx.com c275bdf6f7 Replaced anope_SendSVSHold() with direct call to SendSVSHold() in IRCDProto class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1356 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 21:49:01 +00:00
Naram Qashat cyberbotx@cyberbotx.com 67b96a855a Merge branch 'anopeng-uid' of http://git.inspircd.org/git/anope/ into anopeng-uid
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1351 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 21:31:51 +00:00
Naram Qashat cyberbotx@cyberbotx.com 6c305a3d67 Replaced anope_SendGlobops() with direct call to SendGlobops() in IRCDProto class.
Added SendGlobopsInternal() function to IRCDProto class, now SendGlobops() is a stub to handle varargs.


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1347 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 21:02:37 +00:00
Naram Qashat cyberbotx@cyberbotx.com f3f1b97a1a Replaced anope_SendPart() with direct call to SendPart() in IRCDProto class.
Added SendPartInternal() function to IRCDProto class, now SendPart() is a stub to handle varargs.


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1346 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 20:35:07 +00:00
Naram Qashat cyberbotx@cyberbotx.com 50db0bb680 Replaced anope_SendQuit() with direct call to SendQuit() in IRCDProto class.
Added SendQuitInternal() to IRCDProto class, now SendQuit() is a stub to handle varargs.


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1341 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 19:25:27 +00:00
Naram Qashat cyberbotx@cyberbotx.com d9771fe0aa Added SendAction() function to IRCDProto class to replace use of anope_cmd_notice().
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1337 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 19:14:00 +00:00
Naram Qashat cyberbotx@cyberbotx.com d3f58dcd4f Replaced notice() with direct call to SendMessage() in IRCDProto class.
Added SendNoticeInternal() function to IRCDProto class, now SendNotice() is a stub to handle varargs.


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1336 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 19:11:32 +00:00
Naram Qashat cyberbotx@cyberbotx.com 552c4a47b1 Replaced anope_cmd_privmsg() and privmsg() with direct call to SendPrivmsg() in IRCDProto class.
Added SendPrivmsgInternal() function to IRCDProto class, now SendPrivmsg() is a stub to handle varargs.


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1335 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 19:06:00 +00:00
Naram Qashat cyberbotx@cyberbotx.com a22c4bf1da Replaced anope_cmd_message() with direct call to SendMessage() in IRCDProto class.
Also added SendMessageInternal() function to IRCDProto class, now SendMessage() is a stub to handle varargs.


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1333 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 18:50:20 +00:00
Naram Qashat cyberbotx@cyberbotx.com c48429eb75 Replaced anope_SendNoticeChanops() with direct call to SendNoticeChanops() in IRCDProto class.
Also added SendNoticeChanopsInternal() function to IRCDProto class, now SendNoticeChanops() is a stub to handle varargs.


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1332 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 18:44:47 +00:00
Naram Qashat cyberbotx@cyberbotx.com 765f561952 Replaced anope_SendKick() with direct call to SendKick() in IRCDProto class.
Also added SendKickInternal() function to IRCDProto class, now SendKick() is a stub to handle varargs.


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1331 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 18:37:32 +00:00
Naram Qashat cyberbotx@cyberbotx.com 0ded225023 Replaced anope_SendMode() with direct call to SendMode() in IRCDProto class.
Also added SendModeInternal() function to IRCDProto class, now SendMode() is a stub to handle varargs.


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1329 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 18:26:56 +00:00
Naram Qashat cyberbotx@cyberbotx.com 70501666e8 Replaced anope_SendSVSKill() with direct call to SendSVSKill() in IRCDProto class.
Also added SendSVSKillInternal() function to IRCDProto class, now SendSVSKill() is a stub to handle varargs.


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1326 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 18:04:29 +00:00
Robin Burchell w00t@inspircd.org e5051e4aa5 Merge commit 'cbx/anopeng-uid' into anopeng-uid
Conflicts:

	include/extern.h
	include/services.h
	src/protocol/bahamut.c
	src/protocol/inspircd11.c


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1320 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 16:03:16 +00:00
Robin Burchell w00t@inspircd.org b7ed70140d Modify base protocol to send UID if UseTS6 is enabled, or use nickname else. (TODO: rename UseTS6 to UseUID, set it *in protocol modules*, not via config)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1319 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 15:22:49 +00:00
Robin Burchell w00t@inspircd.org cfa88f4331 Last bits of renaming protocol.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1316 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 14:24:13 +00:00