summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-11-22 15:22:23 +0000
committerSadie Powell <sadie@witchery.services>2024-11-22 15:22:23 +0000
commitc3055e1cfa112c7deecc434ce01b928fd8736c70 (patch)
tree623b3aca08009949178c7457555994a0de00254f /include
parenta27be92e4b406e4bee8a0d56bda00eae335c80a5 (diff)
Add a plural form overload of SendMessage.
Diffstat (limited to 'include')
-rw-r--r--include/users.h1
1 files changed, 1 insertions, 0 deletions
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;