summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/commands.h1
-rw-r--r--include/users.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/commands.h b/include/commands.h
index 1778dd4d9..ed318e60a 100644
--- a/include/commands.h
+++ b/include/commands.h
@@ -44,6 +44,7 @@ struct CoreExport CommandReply
{
virtual ~CommandReply() = default;
virtual void SendMessage(BotInfo *source, const Anope::string &msg) = 0;
+ virtual void SendMessage(CommandSource& source, const Anope::string &msg);
};
/* The source for a command */
diff --git a/include/users.h b/include/users.h
index 2c9779ea3..b33cf2916 100644
--- a/include/users.h
+++ b/include/users.h
@@ -193,6 +193,7 @@ public:
*/
void SendMessage(BotInfo *source, const char *fmt, ...) ATTR_FORMAT(3, 4);
void SendMessage(BotInfo *source, const Anope::string &msg) override;
+ void SendMessage(CommandSource& source, const Anope::string &msg) override;
/** Identify the user to a nick.
* updates last_seen, logs the user in,