summaryrefslogtreecommitdiff
path: root/src/protocol/inspircd12.cpp
AgeCommit message (Collapse)Author
2009-02-12insp12: don't try sstrdup() a NULL argument if sid is not set.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2029 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-11Fix 1.9.0 -> 1.9.1 incompatibility on a patch.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2005 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-11Revert oper protection patch from SciFi, it breaks things. This reverts ↵rburchell
commit fee057ae11daea45295744f0e9e13f1d0ce0f2b4. Conflicts: TODO git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2004 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-09Squashed commit: merge next (1.9.1) back to trunk.rburchell
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-07Backported mooncups patch and added a message to /hs off when using inspircd12.robbeh
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1945 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-07Add the capability to (properly) send login/logout account messages, used ↵rburchell
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-01-23Fix warning.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1932 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-23Fix stuff. Thanks Ankit.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1931 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-23Correctly handle parameterised modes in FJOIN, fixes bug #987.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1930 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-23Insp sends QUIT on KILL, so don't destroy the user record immediately. Fixes ↵rburchell
bug #995 (QUIT from nonexistant user), reported by Ankit. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1929 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-15Fix bug 997, Anope no longer crashes if a kick is non on a non-existant user.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1922 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-03Housekeeping contact address updates.sjaz
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1914 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-02Update copyrights for 2009.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1909 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-30Fix bug 977, topics should show the nick of the user instead of UID now.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1888 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-19Updated the CMakeLists.txt files to function under CMake 2.4.x (earliest ↵cyberbotx
version to work is 2.4.4 now). git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1848 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-19Fix compile error.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1847 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-17Don't crash on server-sent private messages.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1843 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-17A few GCC 3.4.x and MSVC++ warning fixes.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1839 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-28Remove (void) args, these just make things ugly.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1811 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-25Possible fix to the delete that explodes the world.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1794 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-24Fix this, delete that explodes the world.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1792 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-24Off by one?rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1791 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-23Converted many C-style casts to C++-style casts.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1788 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-22Replaced most uses of smalloc and scalloc with new, replaced most uses of ↵cyberbotx
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-21Finish a comment it seems I only ever half startedrburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1781 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21Don't send OPERTYPE for Services pseudoclients, this should not cause ↵rburchell
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-21Don't allow registration of nicks beginning with a digit on Insp12 ↵rburchell
(disallows UID registration) git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1779 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-21Insp12: override SendGlobopsInternal to properly send GLOBOPS, also remove ↵rburchell
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-21Fix ident changing being brokenrburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1769 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-16Added support for multiple uplink blocks in the new config.cyberbotx
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-16Mark perm channels (partly) fixed. Proper fix will wait for 1.9.1.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1743 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-16Enable SVSHOLD for Insp1.1/1.2, remove UseSVSHOLD. Enforcer support may go ↵rburchell
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-15Fixes to Insp1.2:rburchell
- 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-15Fix an incorrect cast causing bans to appear to come from 1940.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1689 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15Fix usermode parsing for InspIRCd 1.2rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1686 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-14Insane commit of doom: s/ \t/grburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1681 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09UseTokens needs to die in a fire, don't let it be turned off.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1605 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08moduleAddVersion -> Module::SetVersionRobin Burchell w00t@inspircd.org
moduleAddAuthor -> Module::SetAuthor git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1590 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08Correct protocol module version - this is 1.2, not 1.1Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1588 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08moduleSetType() -> Module::SetType().Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1583 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08Convert moduleSetType() to not require a module pointer.. actually, this is ↵Robin Burchell w00t@inspircd.org
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-08Call the new base constructor too.. let's hope this all works?Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1578 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08Convert all the derived module constructors to take the new parameter (sed ↵Robin Burchell w00t@inspircd.org
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-06Add module name to MODULE_INIT. This is not yet actually used, but it will ↵Robin Burchell w00t@inspircd.org
be soon.. >_> git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1567 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-05Convert protocol modulesRobin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1558 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-04Experimental fixes (that don't seem to work) to the server problem.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1533 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-03Consolidate modes: we really don't need to have a different one for every ↵Robin Burchell w00t@inspircd.org
pseudoclient. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1531 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-03Make whois reply come from the correct service.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1529 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-03Don't crash on channel messages.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1528 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-03Fix FJOIN sending.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1527 5417fbe8-f217-4b02-8779-1006273d7864