From 9351debd73cb22f33bc46c201c9d66ec09ea773e Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Wed, 9 Apr 2025 18:17:02 +0100 Subject: Expand GetQueryCommand to take a command name. --- include/bots.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/bots.h') diff --git a/include/bots.h b/include/bots.h index d5e935d14..17f336023 100644 --- a/include/bots.h +++ b/include/bots.h @@ -139,7 +139,7 @@ public: CommandInfo *GetCommand(const Anope::string &cname); /** Get the command that users can use to send a message to this bot. */ - Anope::string GetQueryCommand() const; + Anope::string GetQueryCommand(const Anope::string &command = "", const Anope::string &extra = "") const; /** Find a bot by nick * @param nick The nick -- cgit