rburchell
f4cdea8348
Revert oper protection patch from SciFi, it breaks things. This reverts commit fee057ae11daea45295744f0e9e13f1d0ce0f2b4.
...
Conflicts:
TODO
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2004 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-11 00:20:17 +00:00
rburchell
1fd0249076
NS_VERBOTEN -> NS_FORBIDDEN, CS_VERBOTEN -> CS_FORBIDDEN, etc.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1973 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-10 12:26:09 +00:00
rburchell
d7d01bdc5c
Squashed commit: merge next (1.9.1) back to trunk.
...
SVN users, NOTE: THIS WILL NOT BUILD, NOR SHOULD YOU RUN IT YET.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1953 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-09 21:01:05 +00:00
rburchell
a0925f2d4c
Add the capability to (properly) send login/logout account messages, used for InspIRCd at present, others are possible in the future (ircu etc). NOTE: This currently doesn't trigger on DROP, which is probably a bad thing.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1944 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-07 21:58:27 +00:00
sjaz
73bd4f99ca
Housekeeping contact address updates.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1914 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-03 17:06:39 +00:00
rburchell
fba6ec736d
Update copyrights for 2009.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1909 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-02 18:20:35 +00:00
cyberbotx
c16600fee5
Removed check for HAVE_VA_LIST_AS_ARRAY, it broke MemoServ.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1893 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-31 02:05:50 +00:00
cyberbotx
ad7b5bdd30
A few GCC 3.4.x and MSVC++ warning fixes.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1839 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-17 20:17:52 +00:00
cyberbotx
2d72446860
More CMake work, mostly to handle both *nix and Windows builds.
...
Also some tweaks to generation files (like version.sh) to take both input and output files as arguments, to handle CMake when it's used for an out-of-source build.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1836 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-17 20:16:55 +00:00
cyberbotx
b779e4d3bb
Removed Service class, if we need something like it later we can add it back, but for now it's just an extra class without a purpose.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1822 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-30 16:25:26 +00:00
cyberbotx
68deba3296
Renamed Services to Service, keeping it more in line with the naming of other classes in the core.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1815 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-29 00:34:19 +00:00
cyberbotx
3e9413c835
Added start of Services class to be used by new and existing pseudo-clients.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1814 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-29 00:34:13 +00:00
cyberbotx
2e41f43ace
A few more Win32 fixes, Anope 1.9 compiles and runs under Windows now.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1799 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-26 22:13:01 +00:00
cyberbotx
c5b9eaeda0
Various fixes for compiling under Windows.
...
Also updated ms_* modules to use std::vector Memo struct from earlier commit.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1797 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-26 01:41:39 +00:00
cyberbotx
55b6e0438d
Used std::vector for MemoInfo's memos variable instead of an malloc'd array.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1795 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-25 21:22:10 +00:00
cyberbotx
8431ac369b
Converted many C-style casts to C++-style casts.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1788 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-23 19:12:20 +00:00
cyberbotx
16e667a2ce
Replaced most uses of smalloc and scalloc with new, replaced most uses of free with delete.
...
NOTE: This build is unstable due to lack of memory zeroing, this will be addresses in a future commit.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1783 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-22 01:11:19 +00:00
cyberbotx
04c8b28ae7
Removed some signed/unsigned comparison warnings.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1766 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-20 03:35:16 +00:00
cyberbotx
b62f8b67f5
Changed integer config values that were marked PARAM_POSINT in the old config to unsigned integers.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1765 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-20 02:06:30 +00:00
cyberbotx
d1515210cf
Moved include of configreader.h to stop undefined reference to strlcpy (needs testing).
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1762 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-20 00:05:38 +00:00
rburchell
ba20023fb4
Make this compile.. create NI_FORBIDDEN (temporary) and NI_NOEXPIRE to migrate settings.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1759 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-19 23:22:46 +00:00
cyberbotx
0f069f0e8b
Converted modules to use ConfigReader to access new config parser.
...
Added all module directives to new config.
Removed references to old config parser (not sure if I got them all, though).
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1756 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-19 00:48:29 +00:00
cyberbotx
1a2fdff0c6
Added ConfigReader class from InspIRCd to be used in modules to read config files using the new config parser.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1755 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-18 23:58:33 +00:00
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