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