summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-19Fix crash if NS SET <anything> was used without a parameter, spotted and ↵cyberbotx
patched by Adam. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2286 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-17Forward Port of r2284: Don't enfoce akick/forbidden/etc.. settings on ↵jantje_85
clients on ulined servers. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2285 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-16Check Command::permission in command handler.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2283 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-16Add Command::SetPermission member to centralise access checking. Remove ↵rburchell
duplicated comments at the same time. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2282 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-16Remove unused modules_unload_all fini paramrburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2279 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-13Remove 2 unneeded ternary operators, the result is the same with or without ↵cyberbotx
them, patch from Sergio. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2275 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-11Remove files from the modules runtime directory on startup, just in case ↵cyberbotx
files were left behind during a previous run. Suggested by DukePyrolator and Namegduf. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2271 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-10Fix crash in mod_help_cmd when a non-existing command is looked up, spotted ↵cyberbotx
by Adam. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2268 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-07Remove all remaining uses of (My)SQL from the code.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2267 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-04Remove is_services_admin() check from cs_enforce to allow build to succeed.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2261 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-04Marking these volatile isn't a lot of use, and it is confusing.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2259 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-04Remove is_services_* methods.. this forces us to actually remove uses of them.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2257 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-04Fix access checking in corerburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2256 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-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-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-03Added service argument to OnPreCommand, added OnPostCommand event, changed ↵cyberbotx
the following modules to use On[Pre|Post]Command instead of hooking into existing commands: hs_request, ns_maxemail, and os_info. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2242 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-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