summaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
2009-06-20Initialize the Bot flags value inside of BS BOT, fixes problem with BotServ ↵cyberbotx
bots on database load, patch by DukePyrolator. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2328 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-15Fix memory leak in NS SUSPEND, patch by Adam.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2326 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-12Forward port of bugfix for bug #1082 from SVN r2322, remove check for ↵cyberbotx
NSModeOnID from NS UPDATE, it's not logical to check for NSModeOnID since you must be identified to use NS UPDATE anyways. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2323 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-11Make stristr() const-safe, replace post-increment on iterators with ↵cyberbotx
pre-increment, remove now unused variables, made my_memo_lang() in hs_request.c const-safe. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2320 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-11Cleanup of internals of new opertype stuff by Adam. Removes OS OPER and OS ↵rburchell
ADMIN, changes OS STAFF to be more helpful in their place. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2319 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-06-05Patch to fix issue with /CS INFO (Thanks Adam)sjaz
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2312 5417fbe8-f217-4b02-8779-1006273d7864
2009-05-30Remove now unneeded checks for identified nick, patch by Adam.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2305 5417fbe8-f217-4b02-8779-1006273d7864
2009-05-16Fix from Adam for a segfault in /NS ALISTsjaz
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2300 5417fbe8-f217-4b02-8779-1006273d7864
2009-05-08Patch to allow jupe on all bar uplink and self. Thanks Adam. (Bug #1076)sjaz
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2298 5417fbe8-f217-4b02-8779-1006273d7864
2009-05-05Adds check for opertype permissions to mod_run_cmd() in commands.c, and adds ↵cyberbotx
optional parameter to Command class constructor that takes the opertype permissions for the command. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2292 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-26Fix segfault in /os chankill (Adam)sjaz
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2291 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-26To document the use of /ms set notify mail and nomail. (Backported to 1.8 in ↵sjaz
r2289) (Adam) git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2290 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-16PERMISSION_DENIED -> ACCESS_DENIED string.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2281 5417fbe8-f217-4b02-8779-1006273d7864
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