1
0
mirror of https://github.com/anope/anope.git synced 2026-07-05 05:13:12 +02:00

Rework the InfoFormatter/ListFormatter APIs and move to textproc.

This commit is contained in:
Sadie Powell
2025-09-19 11:36:57 +01:00
parent 3b2d798e76
commit 59bb9d3d06
34 changed files with 76 additions and 268 deletions
+1 -7
View File
@@ -66,9 +66,6 @@ public:
}
}
std::vector<Anope::string> replies;
list.Process(replies);
if (!count)
{
source.Reply(_(
@@ -79,10 +76,7 @@ public:
else
{
source.Reply(_("Bot list:"));
for (const auto &reply : replies)
source.Reply(reply);
list.SendTo(source);
source.Reply(_("%d bots available."), count);
}
}