diff options
author | Adam <Adam@anope.org> | 2010-11-29 19:19:00 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-12-12 19:37:02 -0500 |
commit | 2a4d57a1cacd22084abea5dd21c87dc733a7b5bf (patch) | |
tree | a598b7124ca0b32ecc833539d3a5880a677a0ae2 /include/commands.h | |
parent | 71c433cc502cc6073dd1e9d5cab3f49f8f6fd49e (diff) |
Fixed subcommands
Diffstat (limited to 'include/commands.h')
-rw-r--r-- | include/commands.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/commands.h b/include/commands.h index b7c1e28f5..6c7ef7494 100644 --- a/include/commands.h +++ b/include/commands.h @@ -124,9 +124,10 @@ class CoreExport Command : public Flags<CommandFlag> void SetPermission(const Anope::string &reststr); /** Add a subcommand to this command + * @param creator The creator of the subcommand * @param c The command */ - virtual bool AddSubcommand(Command *c); + virtual bool AddSubcommand(Module *creator, Command *c); /** Delete a subcommand from this command * @param c The command |