summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2009-04-02Remove capability for commands to hook existing commands, add an ↵rburchell
OnPreCommand event instead. Tidies up a lot of stuff. Also remove a bunch of dead code. NOTE: This will break some stuff. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2241 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-04-02Remove NSRestrictGetPass, and replace it with opertype usage.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2237 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-02More miscellaneous bits.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2236 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-02Fix up a bunch of access checking to be a bit more modern and so onrburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2235 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-01Change some stuff to use NC::IsServicesOper instead of is_services_*.rburchell
Remove some unused language strings also. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2233 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-01Boink.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2232 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-01Replace nick_is_* checking of static userlevels with ↵rburchell
NickCore::IsServicesOper, which just confirms they have *an* opertype. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2231 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-31Fix compile error in servers.c.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2229 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-31Send snotice after connecting to the network. Also change OnServerConnect to ↵rburchell
take Server*, not a name. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2227 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-31Fix ss_main's client introduction.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2226 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-30Detach all module hooks when a module is unloaded, patch from DukePyrolator, ↵cyberbotx
thanks for spotting this! git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2225 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-30Fix bug #1073, fantasy commands in CTCP ACTIONs will now be ignored instead ↵cyberbotx
of processed. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2217 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-29#1042 Fix for CS SUSPEND/FORBID so that it doesn't act upon opers on rejoin. ↵sjaz
Thanks Adam. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2216 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-29#1058 Patch to fix HS REQUEST memo to include ident. Thanks Adam.sjaz
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2215 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-28Fix bug #1036, patch from Adam, correct the kick reason used when a channel ↵cyberbotx
is forbidden or suspended without a reason. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2214 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-27Regenerate UID on BOT CHANGE, don't try reuse an existing one.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2212 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-27Fix protocol violation error.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2211 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-27Fix potential crash problem with use of free() instead of delete[] from ↵cyberbotx
earlier bugfix of bug #1054, also remove item for * help set from TODO as it's been fixed. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2209 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-25Fix problem with CMake under Windows, spotted by therock247uk on the forums, ↵cyberbotx
CMake now checks for the environment variable VCINSTALLDIR (only set in the Visual Studio command prompt) and also fixes the check for #ifndef. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2207 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-24Fix parameters of NS SET within ns_maxemail so it doesn't break ns_set's ↵cyberbotx
version of it. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2204 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-23Allow a core Service's ident, host, and real name to be changed, but ↵cyberbotx
disallow changing their nicks. Fixes the BS BOT CHANGE part of bug #1070. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2203 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-23Patch from Adam, fixes logging and notices regarding recent channel access ↵cyberbotx
list change. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2202 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-23Replace manually allocated array for NickCore's access list with an ↵cyberbotx
std::vector, cleans up the code and provides a more sane interface, also fixes bug #1023 in the process. Also add missing help for NS ACCESS. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2201 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-23Partial fix for NS REGISTER not displaying syntax error if only 1 argument ↵cyberbotx
is given, not completely fixed due to how OnSyntaxError is called, problem spotted by DukePyrolator, thanks! git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2200 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-23Patch from DukePyrolator, allow unregistered users to use NS GROUP.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2198 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-23Patch from DukePyrolator, only show the message about using NS INFO ALL if ↵cyberbotx
the user hasn't used NS INFO ALL. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2197 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-23Fix bug #1044, CS SET MLOCK no longer requires a parameter, and leaving out ↵cyberbotx
the parameter renders the mlock to +r as it should be. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2195 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-23Fix part #2 of bug #1010, patched partially by Adam and cleaned up / ↵cyberbotx
finished by me, the help commands should work as expected now, including "help set ..." and similar help entries. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2194 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-23Fix bug #1065, patch from DukePyrolator, force a user off a nick when it is ↵cyberbotx
suspended. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2192 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-23Add opertype access checks to OS QUIT, OS RESTART, and OS SHUTDOWN, patch ↵cyberbotx
from Adam. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2191 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-23Fix bug #1064, patch from DukePyrolator, fixes NS RECOVER so it doesn't ↵cyberbotx
display "(null)" in some places. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2188 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-23Really fix bug #1062, patch from Adam, BS ACT and BS SAY should no longer ↵cyberbotx
send revealing error messages to users without access. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2186 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-23Fix bug #1062, patch from Adam, BS ASSIGN should no longer show revealing ↵cyberbotx
error messages to users without access. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2185 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-23Replace manual array for ChannelInfo's access list to use an std::vector ↵cyberbotx
instead, cleans up the code by a huge portion and fixes bug #1024 in the process. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2184 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-20Fix bug #1030 for 1.9.x, patch by Adam, plus cosmetic tweaks, deleting from ↵cyberbotx
the channel access list now logs a message about the deleted items. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2179 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-20Fix bug #1043, patch from Adam, CS LIST will no longer show suspended ↵cyberbotx
channels to normal users. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2178 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-20Show access denied if you do not have access to CS SUSPEND, patch from Adam.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2177 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-20Partial fix for bug #1038, patch from Adam, NS OINFO and CS OINFO now ↵cyberbotx
properly set a new oinfo line. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2176 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-17Fix bug #1041, patch by Adam (with coding style tweaks by me), CS LOGOUT ↵cyberbotx
should work as expected now. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2174 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-17Fix bug #1054 for 1.9.x, patch from Adam, Anope no longer shows the entire ↵cyberbotx
message that was ignored, now it only shows the command that was used. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2173 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-17Fix bug #1040, patch from Adam, CS INVITE not displays messages for ↵cyberbotx
successful invites and failed invite due to being in the channel already. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2172 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-16Remove variable shadowing in os_oline, patch from Phenoix.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2171 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-15Remove variable shadowing in ms_rsend, patch from Phenoix.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2170 5417fbe8-f217-4b02-8779-1006273d7864
2009-03-15Correct a set of potential security holes in varags usage in ns_sendpass, ↵cyberbotx
patch from Phenoix. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2169 5417fbe8-f217-4b02-8779-1006273d7864