From 2a4d57a1cacd22084abea5dd21c87dc733a7b5bf Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 29 Nov 2010 19:19:00 -0500 Subject: Fixed subcommands --- include/commands.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') 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 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 -- cgit