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
1f102694aa
Possible fix to bug #998 , reported by Ankit (bad password count is not correct).
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1928 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-23 08:17:05 +00:00
rburchell
7439706b3b
Fix a signed vs unsigned warning (this also means Anope will correctly function on networks bigger than the positive size of signed int, but who's counting?)
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1927 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-23 08:16:28 +00:00
cyberbotx
4dca000328
Really fix bug 985, had to fix security hole in User::SendMessage() as well.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1917 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-05 08:30:13 +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
e802b6dfe8
Some more Windows fixes, both in CMake and in the code itself. (I don't like the const casting for the latter, but it's only until we get rid of use of strchr)
...
Added CPack setup to automate generation of source package for *nix and NSIS installer for Windows.
Some other minor CMake fixes.
Converted docs/README and docs/WIN32.txt from Unix linefeeds to DOS linefeeds so they show up right in Notepad under Windows.
Added small fix for Visual Studio 2008, CMake doesn't detect the Express version correctly and it must be explicitly defined.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1861 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-23 07:38:22 +00:00
rburchell
be278d2bb8
Remove (void) args, these just make things ugly.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1811 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-28 16:16:53 +00:00
cyberbotx
90f6431603
Fixed issue with nick changes showing the new nick as non-existing.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1796 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-25 21:58:24 +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
fb5d7d1815
Properly initialized new objects when needed so they don't contain garbage data.
...
Also, converted line endings in os_ignore_db from CR+LF to LF.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1784 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-22 02:31:23 +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
rburchell
42fe52c078
Call find_byuid() if isdigit(*nick) and ircd->ts6 (most likely looking up a uid). Fixes insp12 stuff.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1763 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-20 00:11:45 +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
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
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
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
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
9c59d8d8b4
Make src/sessions.c and src/users.c compile.
...
Core now compiles successfully, modules do not.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1379 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 23:26:24 +00:00
Naram Qashat cyberbotx@cyberbotx.com
69bfe7d04c
Replaced anope_SendSVID() with direct call to SendSVID() in IRCDProto class.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1364 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 22:12:22 +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
8001cc147d
Replaced anope_cmd_notice() with direct call to SendNotice() in IRCDProto class.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1334 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 18:58:23 +00:00
Robin Burchell w00t@inspircd.org
4fbf03aaba
set_umode -> ProcessUsermodes
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1314 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 14:20:56 +00:00
Robin Burchell w00t@inspircd.org
f0caf3a4e0
SVSJOIN, SVSPART, CTCP, svid_umode*, unregistered nickchange func renames
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1312 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 14:08:21 +00:00
Robin Burchell w00t@inspircd.org
60b861ee25
Nuke struct Uid from the core. (hooray!)
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1296 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-01 22:07:10 +00:00
Robin Burchell w00t@inspircd.org
e03c14cf1d
Initialise everything properly to avoid crashes. Also, fix a prototype to fix runtime halt due to unresolved sym.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1274 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:13 +00:00
Robin Burchell w00t@inspircd.org
a3a360394e
Add MODULE_INIT to all modules, fix a few various crashes.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1273 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:13 +00:00
Robin Burchell w00t@inspircd.org
6fa5553b4b
Added cmd_notice() function to IRCDProtoNew class. (Replaces cmd_notice2)
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1229 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:11 +00:00
Robin Burchell w00t@inspircd.org
d64b3aa890
Remove anope_cmd_privmsg2 (it's identical to anope_cmd_privmsg!)
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1207 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:10 +00:00
Robin Burchell w00t@inspircd.org
e6111d9ff4
Mark some stuff deprecated, move implementation from the interface into the user class.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1206 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:10 +00:00
Robin Burchell w00t@inspircd.org
c32c3c99a1
Made all protocol modules able to be compiled via mostly constifying strings.
...
Due to the above, also had to constify strings in many other areas.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1202 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:10 +00:00
Robin Burchell w00t@inspircd.org
c037e6a6e9
Move delete_user() into a destructor. Fix a few minor bugs with conversion also.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1194 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:09 +00:00
Robin Burchell w00t@inspircd.org
253d5824c4
Add User::SetRealname().
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1193 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:09 +00:00
Robin Burchell w00t@inspircd.org
726b74f355
Remove duplicate debug notice.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1192 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:09 +00:00
Robin Burchell w00t@inspircd.org
7ae320eaa2
Fix indentation.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1191 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:09 +00:00
Robin Burchell w00t@inspircd.org
a06c716766
Add User::SetIdent(). Also remove duplication by using update_host().
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1190 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:09 +00:00
Robin Burchell w00t@inspircd.org
c036ed1f51
Move more stuff into the user class.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1189 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:09 +00:00
Robin Burchell w00t@inspircd.org
902ef1ce04
Add User::SetNewNick() method, to be called from ircd protocol.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1188 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:09 +00:00
Robin Burchell w00t@inspircd.org
d2d64e17e7
Move users to a basic class.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1187 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:09 +00:00
Robin Burchell w00t@inspircd.org
aa806eba53
Constify a lot of the API. Core now "builds".
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1182 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:09 +00:00
Robin Burchell w00t@inspircd.org
d239984fb4
Various g++ fixes. Compiles, doesn't link.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1180 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:09 +00:00
viper viper@31f1291d-b8d6-0310-a050-a5561fc1590b
790dc8a4bf
BUILD : 1.7.21 (1426) BUGS : 876 NOTES : We now support CIDR in channel ban/invite/except lists. Introduces new CIDR capable generic lists system.
...
git-svn-id: svn://svn.anope.org/anope/trunk@1426 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1141 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-03 20:11:12 +00:00
mark mark@31f1291d-b8d6-0310-a050-a5561fc1590b
8b757ca053
BUILD : 1.7.21 (1414) BUGS : 832 925 NOTES : Applied patch from Twitch to fix warnings in users.c. Also corrected a typo made in previous commit to add +f support to inspircd11.c, and corrected various mistakes in Changes and version.log
...
git-svn-id: svn://svn.anope.org/anope/trunk@1414 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1129 5417fbe8-f217-4b02-8779-1006273d7864
2008-08-17 14:15:48 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b
cc4c1e7d2f
BUILD : 1.7.21 (1402) BUGS : 899 NOTES : DEFCON was akilling ulined servers clients. Thanks Jan
...
git-svn-id: svn://svn.anope.org/anope/trunk@1402 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1117 5417fbe8-f217-4b02-8779-1006273d7864
2008-07-20 20:51:37 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b
74a4709641
BUILD : 1.7.21 (1399) BUGS : 909 NOTES : Anope will not limit sessions for ulined servers. Thanks Jan
...
git-svn-id: svn://svn.anope.org/anope/trunk@1399 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1114 5417fbe8-f217-4b02-8779-1006273d7864
2008-07-20 20:36:33 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
555c7ff856
BUILD : 1.7.21 (1345) BUGS : NOTES : Updated copyright information
...
git-svn-id: svn://svn.anope.org/anope/trunk@1345 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1060 5417fbe8-f217-4b02-8779-1006273d7864
2008-01-13 12:54:14 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b
317b3e0c4e
BUILD : 1.7.19 (1295) BUGS : N/A NOTES : We now have hostip in user_ struct so we can use it where needed. We wont do host_resolve() unless it is extremely necessary, coz we dont want to flood the nameserver.
...
git-svn-id: svn://svn.anope.org/anope/trunk@1295 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1013 5417fbe8-f217-4b02-8779-1006273d7864
2007-08-31 20:40:36 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b
d5a2079085
BUILD : 1.7.19 (1294) BUGS : N/A NOTES : in is_excepted() if we found the exception, break(). There is no point on continue exploring the array. Also, I forgot to free hostip in my previous commit.
...
git-svn-id: svn://svn.anope.org/anope/trunk@1294 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1012 5417fbe8-f217-4b02-8779-1006273d7864
2007-08-31 18:59:12 +00:00
drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b
cde740c02f
BUILD : 1.7.19 (1293) BUGS : 778 NOTES : is_excepted() now uses match_userip() also.
...
git-svn-id: svn://svn.anope.org/anope/trunk@1293 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1011 5417fbe8-f217-4b02-8779-1006273d7864
2007-08-31 18:38:14 +00:00