summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2009-03-15Correct a set of potential security holes in varags usage in ns_register, ↵cyberbotx
patch from Phenoix. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2168 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-15Remove variable shadowing in ms_send, patch from Phenoix.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2167 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-15Patch from Phenoix to correct a set of potential security holes in varargs ↵cyberbotx
usage. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2165 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-15Fix but #1050, MS STAFF's syntax shows correctly, required adding a language ↵cyberbotx
string as well, currently they are all English until they can be properly translated. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2164 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-14Fix bug #1056, patch from Adam, BotServ kickers should now ban for like it ↵cyberbotx
should. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2163 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-14Fixed typo on operserv which was stopping opersonly working. Good find Adam. ↵sjaz
(You do pick up the weirdest of things ....) git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2162 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-14Amended error message from "server numeric" to "server id" as per discussion on sjaz
forum to avoid confusion. (We might want to think about this in the long term but for now, this will help reduce confusion). git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2161 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-14Fix for bs badwords deletion. Good find Adam.sjaz
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2159 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-14Fix bug #1055, keetopic != keeptopic.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2158 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-14Fix bug #1035, patch by Adam, now bans set through CS ENFORCE can be removed ↵cyberbotx
through CS UNBAN or CS CLEAR BANS. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2157 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-09Fix bug #1020, +f and +L parameters are read from and written to the ↵cyberbotx
database regardless of what the IRCd says it can handle, as the databases are loaded prior to Anope connecting to the IRCd and the InspIRCd protocol modules default to saying +f is a mode they don't support until after Anope connects to InspIRCd. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2150 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-09Fix /cs set mlock to not use strtok, which wasn't working due to the change ↵cyberbotx
in the command API to not use strtok at all, indirectly found because of bug #1020 (which was for 1.9.0 where /cs set mlock functions properly). git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2149 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-09Fix bug #1025, the message for "no such entry" should show whatever was ↵cyberbotx
number passed in to the command, not -1 every time. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2148 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-09Fix bug #1028, the *_getpass and *_sendpass modules will now refuse to load ↵cyberbotx
if the given encryption module is unable to do decryption. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2147 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-08Fix bug #1027, properly send a Globop on CS DROP, patch provided by Adam.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2146 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-06Fix bug #1026, Anope shouldn't crash on /ns set greet now, was just a small ↵cyberbotx
but fatal typo. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2143 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-28Oper restrictions on memoserv commands.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2138 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-28Missed converting this to opertypes.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2137 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-28Remove CSRestrictGetPass, it is unneeded with the introduction of opertypes. ↵rburchell
[Adam] git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2136 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-28Add access checking to cs_* modules. Also change number of arguments for ↵rburchell
cs_modes commands. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2134 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-22Forward port of patch by DukePyrolator fixing memory leak on +beI modes.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2124 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-21Also allow RECOVER/RELEASE, reported by Adam and Raff7.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2123 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-21Allow NS GHOST from an unregistered sender, reported by Raff7.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2122 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-21Fix cs_access not displaying syntax errors and having a signed vs unsigned ↵cyberbotx
bug, spotted by Adam. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2121 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-19Fix a few warnings. Also move split_usermask into cs_akick, as this is the ↵rburchell
only place it is used. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2119 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-19Preliminary support for a module source file (within src/modules) to include ↵cyberbotx
a comment saying it requires certain external libraries and having CMake search for the library automatically. Note: This sorta works for both *nix and Windows, probably *nix more-so than Windows, but this needs some cleaning up. It does work as is, though. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2118 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-19Fix ns_update, thanks DP. Fix two compile errors.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2117 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-19Remove (and neuter) old event system. Not used by anything in core.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2116 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-19Move last of events that are in the core distro over to newevents.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2115 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-18Fix problems with registration being denied, thanks Adam.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2114 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-18Add OnUserConnect event, mark OnSaveDatabase deprecated pending db redesign.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2113 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-18Patch from DP, converting all match calls and removing old match method.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2111 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-18Add nickalias to build. Also stop sstrdup on args that seem to be NULL, it's ↵rburchell
getting ripped out anyway. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2109 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-18Move EVENT_DB_SAVING to newevent.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2108 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-18Move assign and unassign to new events, allow for halting too should modules ↵rburchell
desire that. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2107 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-17Fix numerous errors in Win32 building under Visual Studio due to the many ↵cyberbotx
changes to trunk. Trunk now builds under Windows like it should. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2106 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-17Hook events correctly in constructor.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2105 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16Oops.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2104 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-16Move EVENT_RELOAD to OnReload.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2103 5417fbe8-f217-4b02-8779-1006273d7864