summaryrefslogtreecommitdiff
path: root/include/commands.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/commands.h')
-rw-r--r--include/commands.h3
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