From c3055e1cfa112c7deecc434ce01b928fd8736c70 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 22 Nov 2024 15:22:23 +0000 Subject: Add a plural form overload of SendMessage. --- include/users.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/users.h b/include/users.h index 92515678f..c1ddda6d1 100644 --- a/include/users.h +++ b/include/users.h @@ -190,6 +190,7 @@ public: * @param ... any number of parameters */ void SendMessage(BotInfo *source, const char *fmt, ...) ATTR_FORMAT(3, 4); + void SendMessage(BotInfo *source, int count, const char *singular, const char *plural, ...) ATTR_FORMAT(5, 6); void SendMessage(BotInfo *source, const Anope::string &msg) override; void SendMessage(CommandSource &source, const Anope::string &msg) override; -- cgit