Adam
|
c83b2b73d7
|
Much more work on the live SQL. Should work pretty decently now under heavy load.
|
2011-02-20 01:05:16 -05:00 |
|
Adam
|
2529ff6dae
|
Made the help command description code more sane
|
2011-02-11 03:12:39 -05:00 |
|
Adam
|
08583dc107
|
Moved the language strings which are only used once
out of the core and into the modules that use them.
|
2011-02-04 15:30:31 -05:00 |
|
Adam
|
512d23d60f
|
Made the Flag class able to convert flags to strings and back
|
2011-01-08 00:25:11 -05:00 |
|
lethality
|
9efebe5461
|
update copyrights for 2011
|
2011-01-05 18:34:38 +00:00 |
|
Adam
|
aed53dbb47
|
Cleaned up some things, made the protocol modules use some basic inheritance to cut back on their code duplication. More work can be done in the future to remove even more of it.
|
2010-12-12 19:37:03 -05:00 |
|
Adam
|
2a4d57a1ca
|
Fixed subcommands
|
2010-12-12 19:37:02 -05:00 |
|
Adam
|
71c433cc50
|
The rest of the earlier command changes
|
2010-12-12 19:37:00 -05:00 |
|
Adam
|
2b10cc84ea
|
Added /bs set msg
|
2010-12-12 19:36:19 -05:00 |
|
Adam
|
cb6ef574e3
|
Send replies from fantasy commands back to the channel, this will be expanded on later
|
2010-12-12 19:36:19 -05:00 |
|
Adam
|
717c123441
|
Fixed some warnings
|
2010-10-11 15:37:39 -04:00 |
|
Adam
|
c770c47e18
|
Don't dynamically allocate commands in modules anymore, instead made them members of modules. This means the commands are automatically destructed when the module is unloaded. Cleans up some old ugly code.
|
2010-07-31 21:37:45 -04:00 |
|
Naram Qashat
|
ae38212c1c
|
Epic commit to replace most of the strings in Anope with a single Anope::string class, plus some other little fixes here and there. If you follow 1.9.x development and are testing things, THIS is one of those things that NEEDS testing.
|
2010-07-25 21:58:20 -04:00 |
|
Naram Qashat
|
381c9c8870
|
The first of a few "CBX OCDing over code style" commits, focusing on include/* and src/* but not src/core/* or src/modules/*.
|
2010-06-20 18:42:58 -04:00 |
|
Adam
|
e6447fa2c4
|
Added in a subcommand system and switched ns_set and ns_saset to use it
|
2010-06-18 21:04:09 -04:00 |
|
Adam
|
6cd8849466
|
Moved the *Serv help functions to Command, will come in use later with subcommands
|
2010-06-18 21:04:09 -04:00 |
|
Adam
|
f049124905
|
Rewrote the hashing system to use std::tr1::unordered_map
|
2010-06-18 21:01:53 -04:00 |
|
Adam
|
fa82890696
|
Moved Commands stuff to its own file and changed Command::name to be ci::string - Will be used after hashing system is rewritten
|
2010-06-18 20:55:38 -04:00 |
|
Adam
|
c4b725b2e1
|
Removed all references to $, git has no svn keywords
|
2010-06-18 18:39:30 -04:00 |
|
pimpmylinux
|
0a61c06860
|
updated copyright info for 2010
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2753 5417fbe8-f217-4b02-8779-1006273d7864
|
2010-01-11 19:36:24 +00:00 |
|
Adam-
|
848c0aaa21
|
Made Command::Execute's params const
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2644 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-11-12 00:28:05 +00:00 |
|
Adam-
|
d16f4930f4
|
Made Command::OnSyntaxError accept a subcommand parameter, we now give syntax error messages for subcommands (eg, cs_set) instead of giving the general syntax error for the main command
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2643 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-11-11 23:43:02 +00:00 |
|
Adam-
|
458be36a32
|
Rewrote all of the old C style flag systems into a new Flag class which everything inherits from. This breaks reading and writing flags to the old databases (and probably many other things aswell) - Don't use it
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2636 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-11-08 20:06:21 +00:00 |
|
Adam-
|
fb5356ccbc
|
Destroyed Command::help_param* and rewrote the help part of os_news to be much better
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2538 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-10-06 21:54:55 +00:00 |
|
cyberbotx
|
b2a57b0974
|
Changed params parameter of Command's Execute() from std::vector<std::string> to std::vector<ci::string>, seems to have no ill effects but may require some testing to be sure.
Also a few minor cleanups here and there.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2392 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-07-25 00:37:43 +00:00 |
|
cyberbotx
|
443654f15b
|
Changed subcommand parameter of Command's OnHelp() from std::string to ci::string, allows sub-help (like NS SET PASSWORD) to be called without requiring the subcommand to be sent by the user in all caps.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2391 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-07-24 01:47:47 +00:00 |
|
cyberbotx
|
dc102049b0
|
Adds check for opertype permissions to mod_run_cmd() in commands.c, and adds 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-05-05 22:26:41 +00:00 |
|
rburchell
|
fc4f89e079
|
Add Command::SetPermission member to centralise access checking. Remove 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-16 20:28:52 +00:00 |
|
rburchell
|
48ef6617ac
|
Remove capability for commands to hook existing commands, add an 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-02 22:59:27 +00:00 |
|
cyberbotx
|
3fe5aa037a
|
Fix numerous errors in Win32 building under Visual Studio due to the many 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-17 02:02:20 +00:00 |
|
rburchell
|
d121c4bd37
|
Add CFLAG_ALLOW_UNREGISTERED, commands without this flag will now not run for unregistered users.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2065 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-02-15 15:23:03 +00:00 |
|
rburchell
|
02452a0375
|
Split Command implementation from definition.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2064 5417fbe8-f217-4b02-8779-1006273d7864
|
2009-02-15 15:22:40 +00:00 |
|