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/bots.cpp | |
parent | 4789751e5002a0667ca9080bcb461b0817db31b2 (diff) |
Remove several string format IRCDProto function overloads.
Diffstat (limited to 'src/bots.cpp')
-rw-r--r-- | src/bots.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bots.cpp b/src/bots.cpp index ecccafe16..32b0546e6 100644 --- a/src/bots.cpp +++ b/src/bots.cpp @@ -216,7 +216,7 @@ void BotInfo::Part(Channel *c, const Anope::string &reason) FOREACH_MOD(OnPrePartChannel, (this, c)); - IRCD->SendPart(this, c, "%s", !reason.empty() ? reason.c_str() : ""); + IRCD->SendPart(this, c, reason); c->DeleteUser(this); |