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

Remove several string format IRCDProto function overloads.

This commit is contained in:
Sadie Powell
2024-02-26 16:33:48 +00:00
parent 4789751e50
commit 6be4df3b39
14 changed files with 33 additions and 99 deletions
+2 -2
View File
@@ -93,7 +93,7 @@ static void CollideKill(User *target, const Anope::string &reason)
else
{
// Be sure my user is really dead
IRCD->SendQuit(target, "%s", reason.c_str());
IRCD->SendQuit(target, reason);
// Reintroduce my client
if (BotInfo *bi = dynamic_cast<BotInfo *>(target))
@@ -770,7 +770,7 @@ void User::Kill(const MessageSource &source, const Anope::string &reason)
{
Anope::string real_reason = source.GetName() + " (" + reason + ")";
IRCD->SendSVSKill(source, this, "%s", real_reason.c_str());
IRCD->SendSVSKill(source, this, real_reason);
}
void User::KillInternal(const MessageSource &source, const Anope::string &reason)