From 5d9344b6773a54c3e1706019c1910c20b5e95055 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Wed, 5 Feb 2025 19:38:36 +0000 Subject: [PATCH] Fix the pluralisation of a message in bs_info. --- modules/botserv/bs_info.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/botserv/bs_info.cpp b/modules/botserv/bs_info.cpp index 0bee2de01..ae4af76cf 100644 --- a/modules/botserv/bs_info.cpp +++ b/modules/botserv/bs_info.cpp @@ -55,7 +55,7 @@ public: info[_("Real name")] = bi->realname; info[_("Created")] = Anope::strftime(bi->created, source.GetAccount()); info[_("Options")] = bi->oper_only ? _("Private") : _("None"); - info[_("Used on")] = Anope::printf(Language::Translate(source.nc, N_("%u channel", "%u channels")), bi->GetChannelCount()); + info[_("Used on")] = Anope::printf(Language::Translate(source.nc, bi->GetChannelCount(), N_("%u channel", "%u channels")), bi->GetChannelCount()); FOREACH_MOD(OnBotInfo, (source, bi, ci, info));