diff options
author | Sadie Powell <sadie@witchery.services> | 2024-02-26 16:33:48 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-02-26 16:45:28 +0000 |
commit | 6be4df3b395bd11ee1d936f6f1c9b63553441d38 (patch) | |
tree | ff004a247f7f77d719ba775ed6e4f7e3de5e6798 /src/users.cpp | |
parent | 4789751e5002a0667ca9080bcb461b0817db31b2 (diff) |
Remove several string format IRCDProto function overloads.
Diffstat (limited to 'src/users.cpp')
-rw-r--r-- | src/users.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/users.cpp b/src/users.cpp index f2bf55e88..7761cb5c7 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -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) |