summaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
2009-04-16Show proper syntax errors on CS BAN and CS KICK, patch from Adam.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2278 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-13Correct help for CS INFO and add syntax errors for cs_modes, patch from Adam.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2274 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-10Fix more problems with help, patch from Adam.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2270 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-10Added missing help to BS ACT, patch from Adam.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2269 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-06Replace Set*Help() functions with virtual *ServHelp() functions that can be ↵cyberbotx
overriden in a module's Module class. Patch from Adam. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2266 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-06Patch to make changing bots not send multiple QUIT commands (Thanks Adam).sjaz
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2265 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-06Patch to allow NS CONFIRM and NS RESEND to be used by non identified users. ↵sjaz
(Thanks Adam) git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2264 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-04Removed is_host_setter() and is_host_remover() from code and replaced them ↵cyberbotx
with opertype priv "hostserv/set", removed <hostserv:hostsetters> from configuration. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2260 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-04Remove various uneeded priv checks.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2258 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-04Fix access checking on ns_*rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2255 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-03Reintroduce sending login/logout account messages, they were added back in ↵cyberbotx
SVN r1944 but went poof with the command API change. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2247 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-03Fix bug #1045, patch from Adam, suspended channels can no longer be ↵cyberbotx
administered, and control over checking forbidden and suspended channels has been moved out of the modules and into the core. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2243 5417fbe8-f217-4b02-8779-1006273d7864
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-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-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-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-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-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-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-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 #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
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 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