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

Remove the formatting overloads of SendNotice/SendPrivmsg.

This commit is contained in:
Sadie Powell
2024-06-24 13:29:41 +01:00
parent 249ad3dfea
commit 6e5713d64a
9 changed files with 20 additions and 40 deletions
+2 -2
View File
@@ -391,11 +391,11 @@ public:
/* Sending a channel message or notice in response to a fantasy command */;
else if (log->method.equals_ci("MESSAGE") && l->ci->c)
{
IRCD->SendPrivmsg(l->ci->WhoSends(), log->extra + l->ci->c->name, "%s", buffer.c_str());
IRCD->SendPrivmsg(l->ci->WhoSends(), log->extra + l->ci->c->name, buffer);
l->ci->WhoSends()->lastmsg = Anope::CurTime;
}
else if (log->method.equals_ci("NOTICE") && l->ci->c)
IRCD->SendNotice(l->ci->WhoSends(), log->extra + l->ci->c->name, "%s", buffer.c_str());
IRCD->SendNotice(l->ci->WhoSends(), log->extra + l->ci->c->name, buffer);
}
}
}