diff options
author | Sadie Powell <sadie@witchery.services> | 2024-11-19 17:02:11 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-11-19 17:10:29 +0000 |
commit | 687bcaa83fb84d8664b17304baa0bc111efdc71b (patch) | |
tree | b22b1bbe846e1359d7b260111411e475c8f566ca /include | |
parent | 1fb8a624f97909796e52909eef6ad221f188d525 (diff) |
Add a plural form overload of CommandSource::Reply.
Diffstat (limited to 'include')
-rw-r--r-- | include/commands.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/commands.h b/include/commands.h index 583f02da1..7f0b79e3d 100644 --- a/include/commands.h +++ b/include/commands.h @@ -81,6 +81,7 @@ public: bool IsFounder(ChannelInfo *ci); void Reply(const char *message, ...) ATTR_FORMAT(2, 3); + void Reply(int count, const char *singular, const char *plural, ...) ATTR_FORMAT(4, 5); void Reply(const Anope::string &message); bool HasCommand(const Anope::string &cmd); |