cyberbotx
6faec5eb4a
Possible fix to the delete that explodes the world.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1794 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-25 11:26:24 +00:00
rburchell
2557d0b091
Fix this, delete that explodes the world.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1792 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-24 23:14:41 +00:00
rburchell
0779326cce
Off by one?
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1791 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-24 21:49:11 +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
rburchell
9aadd803eb
Finish a comment it seems I only ever half started
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1781 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21 18:11:05 +00:00
rburchell
becf84ee20
Don't send OPERTYPE for Services pseudoclients, this should not cause problems as services are remote users, and should gain less spam on services connecting, and no need to fiddle with /lusers counts.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1780 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21 17:58:09 +00:00
rburchell
e6dfa9cf53
Don't allow registration of nicks beginning with a digit on Insp12 (disallows UID registration)
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1779 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21 17:33:10 +00:00
rburchell
36a896fba0
Remove unnecessary comment
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1778 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21 17:32:49 +00:00
rburchell
6e54bbc507
Insp12: override SendGlobopsInternal to properly send GLOBOPS, also remove hard dependancy on m_globops by sending SNONOTICE A (notice to general oper snomask) if it is not loaded on the network.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1770 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21 09:55:57 +00:00
rburchell
ab85c3fe9b
Fix ident changing being broken
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1769 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21 09:55:32 +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
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
cbb6c43c7e
Mark perm channels (partly) fixed. Proper fix will wait for 1.9.1.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1743 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-16 02:03:51 +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
61f2ce9a41
Enable SVSHOLD for Insp1.1/1.2, remove UseSVSHOLD. Enforcer support may go away, as it is hacky, and no longer used with any of the ircds.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1739 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-16 00:56:47 +00:00
rburchell
01806ba861
Remove UnRestrictSAdmin.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1738 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-16 00:56:17 +00:00
rburchell
ba15bdc174
Fixes to Insp1.2:
...
- Send a SID prefix for ENDBURST
- If we can't find the source of a modechange, hack it into sender (for server mode changes)
- If the target doesn't exist, abort the modechange to avoid NULL ptr deref (can happen if the user got killed off)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1708 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 18:24:47 +00:00
rburchell
4ff3aaccd8
Fix an incorrect cast causing bans to appear to come from 1940.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1689 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 12:28:15 +00:00
rburchell
2d07704bb6
Fix usermode parsing for InspIRCd 1.2
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1686 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 00:21:47 +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
rburchell
3a04b86346
Fix compile error caused by constification of some parametes.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1673 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-14 20:04:48 +00:00
rburchell
e289e5ade0
Various small warning fixes.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1668 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-14 20:02:06 +00:00
robbeh
40839766c2
made the use of run-cc.pl optional, if you dont want to use it, add --with-makebin="" to the ./configure line.
...
This is very useful for IDEs which parse the gcc output and let you just click on errors, like eclipse and kdevelop :)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1662 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-13 20:28:40 +00:00
Robin Burchell w00t@inspircd.org
0c5c97ba0e
Always UseSVS2MODE, too.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1606 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09 01:02:22 +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
Naram Qashat cyberbotx@cyberbotx.com
03e3bb1a59
A few compile fixes for protocol modules.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1600 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 17:48:14 +00:00
Robin Burchell w00t@inspircd.org
6130eecca2
Merge commit 'cbx/anopeng-config' into anopeng
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1598 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 17:22:29 +00:00
Robin Burchell w00t@inspircd.org
1c3b8e15c2
moduleAddVersion -> Module::SetVersion
...
moduleAddAuthor -> Module::SetAuthor
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1590 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 01:54:17 +00:00
Robin Burchell w00t@inspircd.org
3dd5c83486
Correct protocol module version - this is 1.2, not 1.1
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1588 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 01:31:43 +00:00
Robin Burchell w00t@inspircd.org
26cdf257cc
moduleAddEventHook -> Module::AddEventHook.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1587 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 01:30:43 +00:00
Robin Burchell w00t@inspircd.org
7ac7c564f5
moduleSetType() -> Module::SetType().
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1583 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 00:48:04 +00:00
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
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
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
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
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
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
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
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
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
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