summaryrefslogtreecommitdiff
path: root/modules/nickserv
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-11-19 17:02:11 +0000
committerSadie Powell <sadie@witchery.services>2024-11-19 17:10:29 +0000
commit687bcaa83fb84d8664b17304baa0bc111efdc71b (patch)
treeb22b1bbe846e1359d7b260111411e475c8f566ca /modules/nickserv
parent1fb8a624f97909796e52909eef6ad221f188d525 (diff)
Add a plural form overload of CommandSource::Reply.
Diffstat (limited to 'modules/nickserv')
-rw-r--r--modules/nickserv/ns_group.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/nickserv/ns_group.cpp b/modules/nickserv/ns_group.cpp
index c7a118211..f2a7f33ae 100644
--- a/modules/nickserv/ns_group.cpp
+++ b/modules/nickserv/ns_group.cpp
@@ -359,7 +359,7 @@ public:
for (const auto &reply : replies)
source.Reply(reply);
- source.Reply(_("%zu nickname(s) in the group."), nc->aliases->size());
+ source.Reply(nc->aliases->size(), N_("1 nickname in the group.", "%zu nicknames in the group."), nc->aliases->size());
}
bool OnHelp(CommandSource &source, const Anope::string &subcommand) override