summaryrefslogtreecommitdiff
path: root/src/protocol
AgeCommit message (Collapse)Author
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-31Possible fix for a crash bug in the InspIRCd 1.1 module.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1894 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-29Final modifications to Autotools build system to work alongside CMake build ↵cyberbotx
system. CMake build system will only allow out-of-source building now. Removed all old NMake Makefiles for Windows to focus on use of CMake on Windows (it's not as important to require the old system on Windows like it is on *nix). git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1878 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-29Modifications to the Autotools build system to try to make it work with the ↵cyberbotx
changes made from CMake, still untested (again, don't use this commit). git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1877 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-29Revived Autotools from the grave, although it'll need some tweaking to work ↵cyberbotx
alongside CMake now. (In other words, don't use this commit, I committed this so I don't have to re-add these files again if I screw something up.) git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1876 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-29Reverting my last 2 commits in an attempt to fix my own screwball mistake.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1873 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-29Merge branch 'cmake'cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1871 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-26Minor CMake cleanup, moving include directories and defines to use ↵cyberbotx
include_directories and add_definitions instead. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1865 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-23Fixed problem with unreal protocol module not storing usermode changes. Not ↵jantje_85
the nicest patch, but should do the job. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1862 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-23Some more Windows fixes, both in CMake and in the code itself. (I don't like ↵cyberbotx
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-21Some more CMake edits, this allows versions of CMake as early as 2.4.0 to ↵cyberbotx
work now. Also fixed an issue with adding the dl library to the linker flags, reported by Obi_Wan, thanks! git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1857 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-17Fix umode +d bug slightly more properly.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1844 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-17Removed the old autotools files that are no longer needed because of the use ↵cyberbotx
of CMake. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1842 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-17Massive cleanup of the CMakeLists.txt files to finalize them.cyberbotx
Edited configuration scripts for *nix and Windows to use CMake as well as support both in-source and out-of-source builds. Changed directory structure for *nix to match Windows to remove some conditionals in both CMake and Anope itself. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1841 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-17Implemented dependency calculation within CMake, now header file ↵cyberbotx
dependencies are no longer hardcoded. Also a few minor changes to the CMakeLists.txt files. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1840 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-12-17Fixed issue with the MSVC++ build of Anope crashing on a DLL throwing an ↵cyberbotx
exception, thanks to w00t for pointing out the overloaded new/delete operators from InspIRCd. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1838 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-17More CMake work, adding win32.rc generation and fixing some other problems.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1837 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-17More CMake work, mostly to handle both *nix and Windows builds.cyberbotx
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-17Implemented CMake build system to replace the old autoconf-based build system.cyberbotx
(Note: Although each Makefile was changed, they will be removed later as CMake reconstructs them.) Also fixed generation of language files and version.h to not rely on the current directory they are in. Edited Config to send parameters to cmake, but it is no longer a requirement. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1835 5417fbe8-f217-4b02-8779-1006273d7864
2008-12-17Forward-port 0f3414de39df90405cf6c98a51194e957e8e5afa from 1.8: don't set +d ↵rburchell
when setting svid on a user w/ unreal protocol. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1830 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-26Various fixes for compiling under Windows.cyberbotx
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-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-21Remove unnecessary commentrburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1778 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-20Removed some signed/unsigned comparison warnings.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1766 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-16Remove UseTS6. This is now on or off at an ircd, not a config level. Move ↵rburchell
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-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-16Remove UnRestrictSAdmin.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1738 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