1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 18:36:39 +02:00

Rename TextSplitter to LineWrapper.

This commit is contained in:
Sadie Powell
2025-04-16 01:53:50 +01:00
parent 74e9a9d2fe
commit ad0b4d1aa0
3 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -347,8 +347,8 @@ namespace
{
void SendMessageInternal(BotInfo *source, User *target, const Anope::string &msg, const Anope::map<Anope::string> &tags)
{
TextSplitter ts(Language::Translate(target, msg.c_str()));
for (Anope::string line; ts.GetLine(line); )
LineWrapper lw(Language::Translate(target, msg.c_str()));
for (Anope::string line; lw.GetLine(line); )
{
if (target->ShouldPrivmsg())
IRCD->SendPrivmsg(source, target->GetUID(), line, tags);