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:
+2
-2
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user