summaryrefslogtreecommitdiff
path: root/src/protocol
AgeCommit message (Collapse)Author
2009-06-27Possible bugfix for bug #1086, specifically the issue with the inspircd12 ↵cyberbotx
sending ADDKILL from the servername instead of a SID or UID and with a negative expire time. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2340 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-23Adds check for using commands on non-registered channels before the adam-
commands are called git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2336 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-23Fix for bahamut protocol module to get the users IP when new users are ↵adam-
introduced git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2335 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-06New events stuff, patch totally by Adam (aka Awesome).rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2313 5417fbe8-f217-4b02-8779-1006273d7864
2009-05-31Add SendSWhois() to inspircd12.cpp, patch by Adam.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2306 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-03Patch from DukePyrolator to include an OnUserNickChange() event to replace ↵cyberbotx
EVENT_CHANGE_NICK, also patch from me to have the ratbox protocol module send account data on login and logout. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2254 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-03Fix ratbox protocol to use TS6SID for sending (UN)RESV, and fix m_privmsg to ↵cyberbotx
correctly find the core pseudo-clients if the IRCd sends a UID instead of a nick. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2252 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-03Don't generate UID twice in ratbox protocol module. This is a leftover from ↵rburchell
before the core generated UIDs. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2248 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-02Remove rootmodeonid, opermodeonid, adminmodeonid - unused, and utterly ↵rburchell
useless/bad. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2238 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-31These are (now) horribly out of date. When we're ready to implement what ↵rburchell
ones we need, we can grab them back out of SVN (or more likely just do them from scratch..) git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2228 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-30Yet *neither* send HOST_OFF here..rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2224 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-30Needed to apply this to 1.2 too, oops.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2223 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-30Forward-port Szymek's vhost patch.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2222 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-25Fix bug #1009, patch inspired by DukePyrolator, add a TS6 SID generator from ↵cyberbotx
DukePyrolator, as well as change SendServer() to take a Server struct and use the result of new_server() in the SendServer() call instead. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2206 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-11Fix the CMake generation to work with older versions of CMake 2.4.x, ↵cyberbotx
cleaning up some of the macros and also correcting the code to detect what version of CMake is in use. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2155 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-03Fix bug #1022, the problem was inspircd12 specific and the pseudo-clients ↵cyberbotx
will now respawn. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2142 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-03Fix typo in inspircd11 module preventing it from connecting even if ↵cyberbotx
m_hidechans is loaded on InspIRCd. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2141 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-02Added a strip_string function to Anope.cmake, cleaned up other parts of ↵cyberbotx
Anope.cmake, added better find function for #include lines, added functionality for CMake to auto-detect includes in non-standard locations. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2139 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-28Patch from Adam, reducing duplication in cs_modes. Untested.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2135 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-25fix inspircd sending broken UID message when introducing its clientspimpmylinux
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2133 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-23Fix SendAkill() in inspircd* modules, they were sending the wrong timestamp ↵cyberbotx
(instead of sending the current time, they were sending the time of the akill's creation). git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2131 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-23Updated inspircd11 module to look for m_hidechans.so module and updated ↵cyberbotx
inspircd12 module to also look for that module as well as error if m_globops.so isn't loaded. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2130 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-23Fix slight CMake issue where it wasn't including win32_memory.cpp with ↵cyberbotx
protocol modules. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2129 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-23Fix odd crash bug in the inspircd* modules by replacing use of myStrGetToken ↵cyberbotx
with spacesepstraem, also fix a problem on Windows with not having FD_ZERO in the sgets() function before FD_SET is called, both spotted thanks to Brandan. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2126 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-19Fix missing variable.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2120 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15Remove User::na, use User::nc everywhere. Will probably break everything, ↵rburchell
but opens the door to decoupling NC from NA, and means commands can now be run without bothering about changinc nick :) More tweaking for na/nc usage. It compiles, but it's still a work in progress. Again, this compiles, but I *bet* there's no chance in hell it'll work. :) Slightly better. Set User::nc correctly. Fix crash with unregistered nicks in core and ns_access. Fix glist to work when you're not on that particular nick. Fix ns_set to not crash and burn horribly. Fix ns_set and ns_logout to not do bad things. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2076 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15Edit IRCDVar of inspircd12 so certain modules don't load on that IRCd, and ↵cyberbotx
small cosmetic fixes on a few other protocol modules. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2052 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-13Pass the right array to do_umode(), fixes mode tracking on Unreal. Thanks to ↵rburchell
DukePyrolator (yet again :P) git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2040 5417fbe8-f217-4b02-8779-1006273d7864
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-12inspircd11: Pass chants in JOIN message to not blow away timestamps.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2027 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-08Fixed Autotools to detect *.cpp files in the src/core and src/modules folders.cyberbotx
Also small fix to the Windows install.js call to CMake to include quotes around the source's path. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1949 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-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